ci: Set LLVM_ROOT_DIR on Linux runners

This commit is contained in:
Luke Street 2021-05-02 00:11:36 -04:00
parent 55e3b5ab11
commit 2b626f9a53
2 changed files with 3 additions and 2 deletions

View File

@ -57,7 +57,8 @@ jobs:
working-directory: ${{github.workspace}}/build
run: |
cmake $GITHUB_WORKSPACE -GNinja -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_C_COMPILER=${{matrix.cc}} -DCMAKE_CXX_COMPILER=${{matrix.cxx}}
-DCMAKE_C_COMPILER=${{matrix.cc}} -DCMAKE_CXX_COMPILER=${{matrix.cxx}} \
-DLLVM_ROOT_DIR=/usr/lib/llvm-10
- name: Build
working-directory: ${{github.workspace}}/build

View File

@ -64,7 +64,7 @@ jobs:
run: |
cmake $GITHUB_WORKSPACE -GNinja -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_C_COMPILER=${{matrix.cc}} -DCMAKE_CXX_COMPILER=${{matrix.cxx}} \
-DSENTRY_DSN="${{secrets.SENTRY_DSN}}"
-DSENTRY_DSN="${{secrets.SENTRY_DSN}}" -DLLVM_ROOT_DIR=/usr/lib/llvm-10
- name: Build
working-directory: ${{github.workspace}}/build