Skip to content

Commit

Permalink
Try setting clang 12 with cmake argument.
Browse files Browse the repository at this point in the history
  • Loading branch information
nVxx authored Nov 8, 2023
1 parent be4ebbf commit ac23612
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ jobs:
if [[ "${{matrix.compiler}}" == "clang"* ]]; then
cmake_args+=" -DCMAKE_EXPORT_COMPILE_COMMANDS=1"
cmake_args+=" -DCMAKE_C_COMPILER=clang-12 -DCMAKE_CXX_COMPILER=clang++-12"
cmake_args+=" -DCMAKE_TOOLCHAIN_FILE=$GITHUB_WORKSPACE/cmake/toolchain/Linux_X86_64_llvm.toolchain"
fi
Expand Down Expand Up @@ -95,9 +96,6 @@ jobs:
fi
cmake $GITHUB_WORKSPACE ${cmake_args}
env:
CC: clang-12
CXX: clang++-12
- name: Build
working-directory: ${{runner.workspace}}/build
Expand Down

0 comments on commit ac23612

Please sign in to comment.