Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 18 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,10 @@ jobs:
include:
- os: windows-2019
- os: windows-2022
- os: windows-2022
cmake_args: -T ClangCL -A x64
- os: windows-2022
cmake_args: -T ClangCL -A Win32

runs-on: ${{matrix.os}}

Expand Down Expand Up @@ -507,14 +511,15 @@ jobs:
run: |
cd ../boost-root/libs/%LIBRARY%/test/cmake_subdir_test
mkdir __build__ && cd __build__
cmake ..
cmake ${{ matrix.cmake_args }} ..
cmake --build . --config Debug
ctest --output-on-failure --no-tests=error -C Debug

- name: Use library with add_subdirectory (Release)
shell: cmd
run: |
cd ../boost-root/libs/%LIBRARY%/test/cmake_subdir_test/__build__
cmake ${{ matrix.cmake_args }} ..
cmake --build . --config Release
ctest --output-on-failure --no-tests=error -C Release

Expand All @@ -525,6 +530,10 @@ jobs:
include:
- os: windows-2019
- os: windows-2022
- os: windows-2022
cmake_args: -T ClangCL -A x64
- os: windows-2022
cmake_args: -T ClangCL -A Win32

runs-on: ${{matrix.os}}

Expand Down Expand Up @@ -556,7 +565,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.cmake_args }} ..

- name: Install (Debug)
shell: cmd
Expand All @@ -574,14 +583,15 @@ 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.cmake_args }} ..
cmake --build . --config Debug
ctest --output-on-failure --no-tests=error -C Debug

- name: Use the installed library (Release)
shell: cmd
run: |
cd ../boost-root/libs/%LIBRARY%/test/cmake_install_test/__build__
cmake -DCMAKE_INSTALL_PREFIX=C:/cmake-prefix ${{ matrix.cmake_args }} ..
cmake --build . --config Release
ctest --output-on-failure --no-tests=error -C Release

Expand All @@ -592,6 +602,10 @@ jobs:
include:
- os: windows-2019
- os: windows-2022
- os: windows-2022
cmake_args: -T ClangCL -A x64
- os: windows-2022
cmake_args: -T ClangCL -A Win32

runs-on: ${{matrix.os}}

Expand Down Expand Up @@ -623,7 +637,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.cmake_args }} ..

- name: Build tests (Debug)
shell: cmd
Expand Down