From cfcf53abc415f97273b1715a964a406acd658cd3 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sun, 13 Oct 2024 03:38:32 +0300 Subject: [PATCH] Add MinGW and clang-cl jobs to ci.yml --- .github/workflows/ci.yml | 34 ++++++++++++++++++++++++++++++++-- 1 file changed, 32 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 27707da..c594496 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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