Skip to content

Commit

Permalink
Add MinGW, clang-cl to windows-cmake-*
Browse files Browse the repository at this point in the history
  • Loading branch information
pdimov committed Oct 12, 2024
1 parent d90b4f6 commit a1b2842
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}

Expand Down Expand Up @@ -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
Expand All @@ -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}}

Expand Down Expand Up @@ -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
Expand All @@ -624,7 +632,7 @@ jobs:
shell: cmd
run: |
cd ../boost-root/libs/%LIBRARY%/test/cmake_install_test && mkdir __build__ && cd __build__
cmake -DCMAKE_INSTALL_PREFIX=C:/cmake-prefix ..
cmake -DCMAKE_INSTALL_PREFIX=C:/cmake-prefix ${{matrix.opts}} ..
cmake --build . --config Debug
ctest --output-on-failure --no-tests=error -C Debug
Expand All @@ -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}}

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit a1b2842

Please sign in to comment.