mirror of
https://github.com/boostorg/cmake.git
synced 2026-01-19 04:02:15 +00:00
Add MinGW and clang-cl jobs to ci.yml
This commit is contained in:
34
.github/workflows/ci.yml
vendored
34
.github/workflows/ci.yml
vendored
@@ -289,6 +289,36 @@ jobs:
|
||||
include: system
|
||||
test_install: ON
|
||||
|
||||
# mingw
|
||||
|
||||
- os: windows-latest
|
||||
include: timer
|
||||
shared: OFF
|
||||
testing: ON
|
||||
test_install: ON
|
||||
opts: "-G \"MinGW Makefiles\""
|
||||
- os: windows-latest
|
||||
include: timer
|
||||
shared: ON
|
||||
testing: ON
|
||||
test_install: ON
|
||||
opts: "-G \"MinGW Makefiles\""
|
||||
|
||||
# clang-cl
|
||||
|
||||
- os: windows-latest
|
||||
include: timer
|
||||
shared: OFF
|
||||
testing: ON
|
||||
test_install: ON
|
||||
opts: "-T clangcl"
|
||||
- os: windows-latest
|
||||
include: timer
|
||||
shared: ON
|
||||
testing: ON
|
||||
test_install: ON
|
||||
opts: "-T clangcl"
|
||||
|
||||
runs-on: ${{matrix.os}}
|
||||
|
||||
defaults:
|
||||
@@ -317,7 +347,7 @@ jobs:
|
||||
run: |
|
||||
cd ../boost-root
|
||||
mkdir __build__ && cd __build__
|
||||
cmake -DBoost_VERBOSE=${{matrix.verbose}} -DBUILD_TESTING=${{matrix.testing}} -DBOOST_INCLUDE_LIBRARIES=${{matrix.include}} -DBOOST_EXCLUDE_LIBRARIES=${{matrix.exclude}} -DBUILD_SHARED_LIBS=${{matrix.shared}} -DBOOST_ENABLE_MPI=${{matrix.mpi}} -DBOOST_ENABLE_PYTHON=${{matrix.python}} -DCMAKE_IGNORE_PREFIX_PATH="C:/Strawberry/c" ..
|
||||
cmake -DBoost_VERBOSE=${{matrix.verbose}} -DBUILD_TESTING=${{matrix.testing}} -DBOOST_INCLUDE_LIBRARIES=${{matrix.include}} -DBOOST_EXCLUDE_LIBRARIES=${{matrix.exclude}} -DBUILD_SHARED_LIBS=${{matrix.shared}} -DBOOST_ENABLE_MPI=${{matrix.mpi}} -DBOOST_ENABLE_PYTHON=${{matrix.python}} -DCMAKE_IGNORE_PREFIX_PATH="C:/Strawberry/c" ${{matrix.opts}} ..
|
||||
|
||||
- name: Build Boost (Debug)
|
||||
run: cmake --build ../boost-root/__build__ --config Debug
|
||||
@@ -344,7 +374,7 @@ jobs:
|
||||
run: |
|
||||
cd ../boost-root/tools/cmake/test/${{matrix.include}}
|
||||
mkdir __build__ && cd __build__
|
||||
cmake -DCMAKE_PREFIX_PATH=C:/Boost ..
|
||||
cmake -DCMAKE_PREFIX_PATH=C:/Boost ${{matrix.opts}} ..
|
||||
|
||||
- name: Test installed Boost library (Debug)
|
||||
if: matrix.test_install
|
||||
|
||||
Reference in New Issue
Block a user