Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
DarcJC authored Jul 12, 2024
1 parent 40ec3a7 commit 48453c0
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,20 @@ jobs:
uses: KyleMayes/install-llvm-action@v2
with:
version: '17'
env: 1

- name: Symlink libclang.so (Linux)
if: contains(matrix.os, 'ubuntu')
run: sudo ln -s libclang-11.so.1 /lib/x86_64-linux-gnu/libclang.so
working-directory: ${{ env.LLVM_PATH }}/lib

- name: Configure CMake
run: cmake -B build -DREFLECT_BUILD_EXAMPLE=OFF
- name: Configure CMake (Windows)
if: runner.os == 'Windows'
run: cmake -B build -G Ninja -DREFLECT_BUILD_EXAMPLE=OFF -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++

- name: Configure CMake (Linux)
if: runner.os != 'Windows'
run: cmake -B build -DREFLECT_BUILD_EXAMPLE=OFF -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++

- name: Build
run: cmake --build build
Expand Down

0 comments on commit 48453c0

Please sign in to comment.