diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 06b5b68..40b0f29 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -18,11 +18,7 @@ jobs: strategy: fail-fast: false matrix: - compiler: - [ - { c: "clang-cl", cxx: "clang-cl" }, - { c: "cl", cxx: "cl" }, - ] + compiler: [{ c: "clang-cl", cxx: "clang-cl" }, { c: "cl", cxx: "cl" }] name: Windows - ${{ matrix.compiler.cxx }} runs-on: windows-latest @@ -71,6 +67,10 @@ jobs: c: "$(brew --prefix llvm@17)/bin/clang", cxx: "$(brew --prefix llvm@17)/bin/clang++", }, + { + c: "$(brew --prefix llvm@18)/bin/clang", + cxx: "$(brew --prefix llvm@18)/bin/clang++", + }, ] name: Ubuntu - ${{ matrix.compiler.cxx }} runs-on: ubuntu-latest @@ -86,10 +86,10 @@ jobs: - name: Install compilers run: | eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" - brew install ninja llvm@12 llvm@13 llvm@14 llvm@15 llvm@16 llvm@17 + brew install ninja llvm@15 llvm@16 llvm@17 llvm@18 - name: Install dependencies - run: CC=${{ matrix.compiler.c }} CXX=${{ matrix.compiler.cxx }} vcpkg install gtest --triplet ${{ env.triplet }} + run: vcpkg install gtest --triplet ${{ env.triplet }} - name: Build and test run: | @@ -118,9 +118,13 @@ jobs: c: "$(brew --prefix llvm@17)/bin/clang", cxx: "$(brew --prefix llvm@17)/bin/clang++", }, + { + c: "$(brew --prefix llvm@18)/bin/clang", + cxx: "$(brew --prefix llvm@18)/bin/clang++", + }, ] name: MacOS - ${{ matrix.compiler.cxx }} - runs-on: macos-latest + runs-on: macos-13 env: triplet: x64-osx @@ -131,7 +135,7 @@ jobs: submodules: true - name: Install compilers - run: brew install ninja llvm@12 llvm@13 llvm@14 llvm@15 llvm@16 llvm@17 + run: brew install ninja llvm@16 llvm@17 llvm@18 - name: Install dependencies run: CC=${{ matrix.compiler.c }} CXX=${{ matrix.compiler.cxx }} vcpkg install gtest --triplet ${{ env.triplet }}