Skip to content

Commit

Permalink
git: use clang-17 to build gap
Browse files Browse the repository at this point in the history
  • Loading branch information
xlauko committed Feb 27, 2024
1 parent 31486f9 commit 2d8b566
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,14 @@ jobs:

- name: Install dependencies
run: |
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo add-apt-repository -y "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-17 main"
sudo apt-get update
sudo apt-get install -y \
gpg wget curl zip unzip tar git pkg-config \
ninja-build clang-tidy cppcheck ccache build-essential \
doctest-dev
doctest-dev clang-17
- name: "Create directory '${{ env.VCPKG_DEFAULT_BINARY_CACHE }}'"
run: mkdir -p $VCPKG_DEFAULT_BINARY_CACHE
Expand All @@ -50,6 +52,7 @@ jobs:
- name: Run cmake
uses: lukka/run-cmake@v10
with:
configurePresetAdditionalArgs: "['-DCMAKE_C_COMPILER=clang-17', '-DCMAKE_CXX_COMPILER=clang++-17']"
configurePreset: 'ninja-multi-vcpkg'
buildPreset: 'ninja-vcpkg-deb'
testPreset: 'ninja-vcpkg-deb'

0 comments on commit 2d8b566

Please sign in to comment.