Skip to content

Commit

Permalink
Switch to Ubuntu 20.04/clang-12 for clang build. (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
nVxx authored Nov 8, 2023
1 parent c456a5a commit 137523b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ jobs:
- target-platform: iphonesimulator
os: macos-12
type: Debug
# Test with latest Clang too
- os: ubuntu-22.04
# Test with Clang too
- os: ubuntu-20.04
type: Debug
compiler: clang
# on Windows we skip Debug because otherwise the hosted runner runs out of space
Expand Down Expand Up @@ -63,6 +63,8 @@ jobs:
cmake_args="-DCMAKE_BUILD_TYPE=${{ matrix.type }}"
if [[ "${{matrix.compiler}}" == "clang"* ]]; then
# Make it so that clang-12 is picked up (is already installed).
export PATH=/usr/lib/llvm-12/bin/:$PATH
cmake_args+=" -DCMAKE_EXPORT_COMPILE_COMMANDS=1"
cmake_args+=" -DCMAKE_TOOLCHAIN_FILE=$GITHUB_WORKSPACE/cmake/toolchain/Linux_X86_64_llvm.toolchain"
fi
Expand Down

0 comments on commit 137523b

Please sign in to comment.