From 91b5766dfcaaf6fe124a25f3a2fbb538c34e3029 Mon Sep 17 00:00:00 2001 From: Dimo Markov Date: Fri, 29 Sep 2023 10:31:09 +0300 Subject: [PATCH] Added ClangCl and MSVC v143 to the workflow --- .github/workflows/ci.yml | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4db47fa..fddae94 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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}}