|
27 | 27 | compiler: clang++-14 |
28 | 28 | cxxstd: "03,11,14,17,2a" |
29 | 29 | os: ubuntu-22.04 |
| 30 | + - toolset: clang-19 |
| 31 | + cxxstd: "20,23" |
| 32 | + os: ubuntu-24.04 |
| 33 | + install: clang-19 llvm-19 libclang-rt-19-dev libc++-19-dev libc++abi-19-dev clang-tools-19 |
30 | 34 | # - toolset: clang |
31 | 35 | # cxxstd: "03,11,14,17,2a" |
32 | 36 | # os: macos-10.15 |
|
65 | 69 | python tools/boostdep/depinst/depinst.py --include benchmark --include example --include examples --include tools --git_args "--depth 10 --jobs 3" $LIBRARY |
66 | 70 | ./bootstrap.sh |
67 | 71 | ./b2 -d0 headers |
68 | | - ./b2 -j4 variant=debug tools/inspect/build |
| 72 | + ./b2 -j4 variant=debug tools/inspect |
| 73 | +
|
| 74 | + - name: Run modules tests wihtout 'import std;' |
| 75 | + if: ${{matrix.toolset == 'clang-19'}} |
| 76 | + run: | |
| 77 | + cd ../boost-root/libs/any |
| 78 | + mkdir build_module |
| 79 | + cd build_module |
| 80 | + cmake -DBOOST_USE_MODULES=1 -DBUILD_TESTING=1 -GNinja -DCMAKE_CXX_COMPILER=clang++-19 ../test/cmake_subdir_test/ |
| 81 | + cmake --build . |
| 82 | + ctest -V |
| 83 | + cd .. |
| 84 | + rm -rf build_module |
| 85 | +
|
| 86 | + - name: Run modules tests |
| 87 | + if: false |
| 88 | + # if: ${{matrix.toolset == 'clang-19'}} |
| 89 | + run: | |
| 90 | + cd ../boost-root/libs/any |
| 91 | + mkdir build_module |
| 92 | + cd build_module |
| 93 | + cmake -DBUILD_TESTING=1 -DBOOST_USE_MODULES=1 -DCMAKE_CXX_COMPILER=clang++-19 -DCMAKE_CXX_FLAGS=-stdlib=libc++ -DCMAKE_EXE_LINKER_FLAGS=-stdlib=libc++ -DCMAKE_CXX_STANDARD=23 -DCMAKE_EXPERIMENTAL_CXX_IMPORT_STD=0e5b6991-d74f-4b3d-a41c-cf096e0b2508 -G Ninja ../test/cmake_subdir_test/ |
| 94 | + cmake --build . |
| 95 | + ctest -V |
| 96 | + cd .. |
| 97 | + rm -rf build_module |
69 | 98 |
|
70 | 99 | - name: Run tests |
71 | 100 | run: | |
@@ -114,6 +143,10 @@ jobs: |
114 | 143 | cxxstd: "03,11,14,17,2a" |
115 | 144 | addrmd: 64 |
116 | 145 | os: windows-2019 |
| 146 | + - toolset: msvc-14.3 |
| 147 | + cxxstd: "14,17,20,latest" |
| 148 | + addrmd: 32,64 |
| 149 | + os: windows-2022 |
117 | 150 |
|
118 | 151 | runs-on: ${{matrix.os}} |
119 | 152 |
|
@@ -142,6 +175,36 @@ jobs: |
142 | 175 | cmd /c bootstrap |
143 | 176 | b2 -d0 headers |
144 | 177 |
|
| 178 | + - name: Run modules tests |
| 179 | + if: ${{matrix.toolset == 'msvc-14.3'}} |
| 180 | + shell: cmd |
| 181 | + run: | |
| 182 | + choco install --no-progress ninja |
| 183 | + call "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Auxiliary/Build/vcvarsall.bat" x64 |
| 184 | + cd ../boost-root/libs/any |
| 185 | + mkdir build_module |
| 186 | + cd build_module |
| 187 | + cmake -DBOOST_USE_MODULES=1 -DBUILD_TESTING=1 -DCMAKE_CXX_STANDARD=23 -DCMAKE_EXPERIMENTAL_CXX_IMPORT_STD=0e5b6991-d74f-4b3d-a41c-cf096e0b2508 -G Ninja ../test/cmake_subdir_test/ |
| 188 | + cmake --build . |
| 189 | + ctest --no-tests=error -V |
| 190 | + cd .. |
| 191 | + rm -rf build_module |
| 192 | +
|
| 193 | + - name: Run modules tests wihtout 'import std;' |
| 194 | + if: ${{matrix.toolset == 'msvc-14.3'}} |
| 195 | + shell: cmd |
| 196 | + run: | |
| 197 | + choco install --no-progress ninja |
| 198 | + call "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Auxiliary/Build/vcvarsall.bat" x64 |
| 199 | + cd ../boost-root/libs/any |
| 200 | + mkdir build_module |
| 201 | + cd build_module |
| 202 | + cmake -DBOOST_USE_MODULES=1 -DBUILD_TESTING=1 -DCMAKE_CXX_STANDARD=20 -G Ninja ../test/cmake_subdir_test/ |
| 203 | + cmake --build . |
| 204 | + ctest --no-tests=error -V |
| 205 | + cd .. |
| 206 | + rm -rf build_module |
| 207 | +
|
145 | 208 | - name: Run tests |
146 | 209 | shell: cmd |
147 | 210 | run: | |
|
0 commit comments