Skip to content

Commit

Permalink
Update cmake-multi-platform.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lackhole committed Jun 20, 2024
1 parent 5194679 commit 5f8509e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
os: [ubuntu-latest]
build_type: [Debug, Release]
compiler: [clang]
compiler_version: [13, 14, 15]
compiler_version: [7, 8, 9, 10, 11, 12, 13, 14, 15]
include:
- cc_compiler: clang
- cxx_compiler: clang++
Expand All @@ -101,9 +101,12 @@ jobs:
- uses: actions/checkout@v4

- name: Configure CMake
uses: egor-tensin/setup-clang@v1
with:
version: ${{ matrix.compiler_version }}
env:
CC: ${{ matrix.cc_compiler }}-${{ matrix.compiler_version }}
CXX: ${{ matrix.cxx_compiler }}-${{ matrix.compiler_version }}
CC: cc
CXX: c++
run: >
cmake -B build
-DCMAKE_CXX_COMPILER=${{ env.CXX }}
Expand Down

0 comments on commit 5f8509e

Please sign in to comment.