From 93ba8a9562ef19a4c9dd580ee4910eda2cdeb07f Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sat, 12 Oct 2024 20:05:15 +0300 Subject: [PATCH] Add MinGW, clang-cl to windows-cmake-* --- .github/workflows/ci.yml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 959e9c9..c1895bc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -526,6 +526,10 @@ jobs: include: - os: windows-2019 - os: windows-2022 + - os: windows-latest + opts: "-G \"MinGW Makefiles\"" + - os: windows-latest + opts: "-T clangcl" runs-on: ${{matrix.os}} @@ -557,7 +561,7 @@ jobs: run: | cd ../boost-root/libs/%LIBRARY%/test/cmake_subdir_test mkdir __build__ && cd __build__ - cmake .. + cmake ${{matrix.opts}} .. cmake --build . --config Debug ctest --output-on-failure --no-tests=error -C Debug @@ -575,6 +579,10 @@ jobs: include: - os: windows-2019 - os: windows-2022 + - os: windows-latest + opts: "-G \"MinGW Makefiles\"" + - os: windows-latest + opts: "-T clangcl" runs-on: ${{matrix.os}} @@ -606,7 +614,7 @@ jobs: run: | cd ../boost-root mkdir __build__ && cd __build__ - cmake -DBOOST_INCLUDE_LIBRARIES=%LIBRARY% -DCMAKE_INSTALL_PREFIX=C:/cmake-prefix .. + cmake -DBOOST_INCLUDE_LIBRARIES=%LIBRARY% -DCMAKE_INSTALL_PREFIX=C:/cmake-prefix ${{matrix.opts}} .. - name: Install (Debug) shell: cmd @@ -642,6 +650,10 @@ jobs: include: - os: windows-2019 - os: windows-2022 + - os: windows-latest + opts: "-G \"MinGW Makefiles\"" + - os: windows-latest + opts: "-T clangcl" runs-on: ${{matrix.os}} @@ -673,7 +685,7 @@ jobs: run: | cd ../boost-root mkdir __build__ && cd __build__ - cmake -DBOOST_INCLUDE_LIBRARIES=%LIBRARY% -DBUILD_TESTING=ON .. + cmake -DBOOST_INCLUDE_LIBRARIES=%LIBRARY% -DBUILD_TESTING=ON ${{matrix.opts}} .. - name: Build tests (Debug) shell: cmd