Skip to content

Commit

Permalink
Added ClangCl and MSVC v143 to the workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Epixu committed Sep 29, 2023
1 parent 71d5124 commit 91b5766
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,18 @@ jobs:
os: [ubuntu-22.04, windows-latest]
build: [Debug, Release]
arch: [x86, x64]
cxx: [g++, clang++, cl]
cxx: [g++, clang++, ClangCl, v143]

exclude:
- os: ubuntu-22.04
cxx: cl
cxx: v143
- os: ubuntu-22.04
cxx: ClangCl
- os: windows-latest
cxx: g++
- os: windows-latest
cxx: clang++

include:
- os: ubuntu-22.04
arch: x86
Expand Down Expand Up @@ -51,14 +55,24 @@ jobs:
sudo apt update
sudo apt install g++-multilib
- name: Configure
- if: matrix.os == 'ubuntu-22.04'
name: Configure (Linux)
run: >
cmake
-DCMAKE_CXX_COMPILER=${{matrix.cxx}}
-S .
-B out
-DCMAKE_BUILD_TYPE=${{matrix.build}}
${{matrix.cmake_args}}
-DCMAKE_BUILD_TYPE=${{matrix.build}}
- if: matrix.os == 'windows-latest'
name: Configure (Windows)
run: >
cmake
-S .
-B out
${{matrix.cmake_args}} -T "${{matrix.cxx}}"
-DCMAKE_BUILD_TYPE=${{matrix.build}}
- name: Build
run: cmake --build out --config ${{matrix.build}}
Expand Down

0 comments on commit 91b5766

Please sign in to comment.