diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 27965e9..eda66a6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 @@ -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'