Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to Ubuntu 20.04 for clang. #113

Merged
merged 1 commit into from
Nov 8, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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