|
14 | 14 | release:
|
15 | 15 | types: [published, created, edited]
|
16 | 16 | jobs:
|
17 |
| - ubuntu-jammy: |
18 |
| - runs-on: ubuntu-22.04 |
| 17 | + ubuntu-24_04: |
| 18 | + runs-on: ubuntu-24.04 |
19 | 19 | strategy:
|
20 | 20 | fail-fast: false
|
21 | 21 | matrix:
|
22 |
| - compiler: [ g++-11, g++-12, clang++-14 ] |
| 22 | + compiler: [ g++-12, g++-13, clang++-15, clang++-16, clang++-17, clang++-18 ] |
23 | 23 | standard: [ c++03, c++11, c++14, c++17, c++2a, gnu++03, gnu++11, gnu++14, gnu++17, gnu++2a ]
|
24 | 24 | steps:
|
25 | 25 | - uses: actions/checkout@v2
|
|
47 | 47 | if: steps.retry1.outcome=='failure'
|
48 | 48 | run: sudo apt-add-repository -y "ppa:ubuntu-toolchain-r/test"
|
49 | 49 | - name: Install packages
|
50 |
| - run: sudo apt install g++-11 g++-12 clang-14 |
| 50 | + run: sudo apt install g++-12 g++-13 clang-15 clang-16 clang-17 clang-18 |
51 | 51 | - name: Checkout main boost
|
52 | 52 | run: git clone -b develop --depth 1 https://github.com/boostorg/boost.git ../boost-root
|
53 | 53 | - name: Update tools/boostdep
|
@@ -140,76 +140,13 @@ jobs:
|
140 | 140 | - name: Test
|
141 | 141 | run: ../../../b2 toolset=$TOOLSET
|
142 | 142 | working-directory: ../boost-root/libs/type_traits/test
|
143 |
| - ubuntu-focal: |
144 |
| - runs-on: ubuntu-20.04 |
145 |
| - strategy: |
146 |
| - fail-fast: false |
147 |
| - matrix: |
148 |
| - compiler: [ g++-9, g++-10, clang++-9, clang++-10 ] |
149 |
| - standard: [ c++03, c++11, c++14, c++17, c++2a, gnu++03, gnu++11, gnu++14, gnu++17, gnu++2a ] |
150 |
| - steps: |
151 |
| - - uses: actions/checkout@v2 |
152 |
| - with: |
153 |
| - fetch-depth: '0' |
154 |
| - - uses: mstachniuk/ci-skip@v1 |
155 |
| - with: |
156 |
| - commit-filter: '[skip ci];[ci skip];[CI SKIP];[SKIP CI];***CI SKIP***;***SKIP CI***;[windows];[Windows];[WINDOWS];[apple];[Apple];[APPLE]' |
157 |
| - commit-filter-separator: ';' |
158 |
| - fail-fast: true |
159 |
| - - name: Set TOOLSET |
160 |
| - run: echo ${{ matrix.compiler }} | awk '/^g/ { print "TOOLSET=gcc" } /^clang/ { print "TOOLSET=clang" }' >> $GITHUB_ENV |
161 |
| - - name: Add repository |
162 |
| - continue-on-error: true |
163 |
| - id: addrepo |
164 |
| - run: sudo apt-add-repository -y "ppa:ubuntu-toolchain-r/test" |
165 |
| - - name: Retry Add Repo |
166 |
| - continue-on-error: true |
167 |
| - id: retry1 |
168 |
| - if: steps.addrepo.outcome=='failure' |
169 |
| - run: sudo apt-add-repository -y "ppa:ubuntu-toolchain-r/test" |
170 |
| - - name: Retry Add Repo 2 |
171 |
| - continue-on-error: true |
172 |
| - id: retry2 |
173 |
| - if: steps.retry1.outcome=='failure' |
174 |
| - run: sudo apt-add-repository -y "ppa:ubuntu-toolchain-r/test" |
175 |
| - - name: Install packages |
176 |
| - run: sudo apt install g++-9 g++-10 clang-9 clang-10 |
177 |
| - - name: Checkout main boost |
178 |
| - run: git clone -b develop --depth 1 https://github.com/boostorg/boost.git ../boost-root |
179 |
| - - name: Update tools/boostdep |
180 |
| - run: git submodule update --init tools/boostdep |
181 |
| - working-directory: ../boost-root |
182 |
| - - name: Copy files |
183 |
| - run: cp -r $GITHUB_WORKSPACE/* libs/type_traits |
184 |
| - working-directory: ../boost-root |
185 |
| - - name: Install deps |
186 |
| - run: python tools/boostdep/depinst/depinst.py type_traits |
187 |
| - working-directory: ../boost-root |
188 |
| - - name: Bootstrap |
189 |
| - run: ./bootstrap.sh |
190 |
| - working-directory: ../boost-root |
191 |
| - - name: Generate headers |
192 |
| - run: ./b2 headers |
193 |
| - working-directory: ../boost-root |
194 |
| - - name: Generate user config |
195 |
| - run: 'echo "using $TOOLSET : : ${{ matrix.compiler }} : <cxxflags>-std=${{ matrix.standard }} ;" > ~/user-config.jam' |
196 |
| - working-directory: ../boost-root |
197 |
| - - name: Config info install |
198 |
| - run: ../../../b2 config_info_travis_install toolset=$TOOLSET |
199 |
| - working-directory: ../boost-root/libs/config/test |
200 |
| - - name: Config info |
201 |
| - run: ./config_info_travis |
202 |
| - working-directory: ../boost-root/libs/config/test |
203 |
| - - name: Test |
204 |
| - run: ../../../b2 toolset=$TOOLSET |
205 |
| - working-directory: ../boost-root/libs/type_traits/test |
206 | 143 | macos:
|
207 | 144 | runs-on: macos-latest
|
208 | 145 | strategy:
|
209 | 146 | fail-fast: false
|
210 | 147 | matrix:
|
211 | 148 | toolset: [ clang ]
|
212 |
| - standard: [ "03", 11, 14, 17, 2a ] |
| 149 | + standard: [ "03", 11, 14, 17, 20 ] |
213 | 150 | steps:
|
214 | 151 | - uses: actions/checkout@v2
|
215 | 152 | with:
|
@@ -467,79 +404,3 @@ jobs:
|
467 | 404 | - name: Test
|
468 | 405 | run: ..\..\..\b2 --hash cxxstd=${{ matrix.standard }} toolset=msvc-14.2 define=CI_SUPPRESS_KNOWN_ISSUES cxxflags=-clr asynch-exceptions=on
|
469 | 406 | working-directory: ../boost-root/libs/type_traits/test
|
470 |
| - ubuntu-cuda: |
471 |
| - runs-on: ubuntu-20.04 |
472 |
| - strategy: |
473 |
| - fail-fast: false |
474 |
| - matrix: |
475 |
| - standard: [ 11, 14, 17 ] |
476 |
| - steps: |
477 |
| - - uses: actions/checkout@v2 |
478 |
| - with: |
479 |
| - fetch-depth: '0' |
480 |
| - |
481 |
| - - uses: mstachniuk/ci-skip@v1 |
482 |
| - with: |
483 |
| - commit-filter: '[skip ci];[ci skip];[CI SKIP];[SKIP CI];***CI SKIP***;***SKIP CI***;[windows];[Windows];[WINDOWS];[apple];[Apple];[APPLE]' |
484 |
| - commit-filter-separator: ';' |
485 |
| - fail-fast: true |
486 |
| - - name: Add repository |
487 |
| - continue-on-error: true |
488 |
| - id: addrepo |
489 |
| - run: sudo apt-add-repository -y "ppa:ubuntu-toolchain-r/test" |
490 |
| - - name: Retry Add Repo |
491 |
| - continue-on-error: true |
492 |
| - id: retry1 |
493 |
| - if: steps.addrepo.outcome=='failure' |
494 |
| - run: sudo apt-add-repository -y "ppa:ubuntu-toolchain-r/test" |
495 |
| - - name: Retry Add Repo 2 |
496 |
| - continue-on-error: true |
497 |
| - id: retry2 |
498 |
| - if: steps.retry1.outcome=='failure' |
499 |
| - run: sudo apt-add-repository -y "ppa:ubuntu-toolchain-r/test" |
500 |
| - - name: Install packages |
501 |
| - run: sudo apt install clang-10 |
502 |
| - - name: Checkout main boost |
503 |
| - run: git clone -b develop --depth 1 https://github.com/boostorg/boost.git ../boost-root |
504 |
| - - name: Update tools/boostdep |
505 |
| - run: git submodule update --init tools/boostdep |
506 |
| - working-directory: ../boost-root |
507 |
| - - name: Copy files |
508 |
| - run: cp -r $GITHUB_WORKSPACE/* libs/type_traits |
509 |
| - working-directory: ../boost-root |
510 |
| - - name: Install deps |
511 |
| - run: python tools/boostdep/depinst/depinst.py type_traits |
512 |
| - working-directory: ../boost-root |
513 |
| - - name: Bootstrap |
514 |
| - run: ./bootstrap.sh |
515 |
| - working-directory: ../boost-root |
516 |
| - - name: Generate headers |
517 |
| - run: ./b2 headers |
518 |
| - working-directory: ../boost-root |
519 |
| - - name: nvcc version |
520 |
| - run: nvcc --version |
521 |
| - working-directory: ../boost-root/libs/config/test |
522 |
| - - name: Testing nvcc |
523 |
| - run: for file in $(cat cuda/cuda_tests.txt); do echo "testing $file.cpp" && nvcc -std=c++${{ matrix.standard }} -I../../.. -c -DTEST_VIA_STATIC_ASSERT $file.cpp || break -1; done |
524 |
| - working-directory: ../boost-root/libs/type_traits/test |
525 |
| - - name: Testing nvcc+clang |
526 |
| - run: for file in $(cat cuda/cuda_tests.txt); do echo "testing $file.cpp" && nvcc --compiler-bindir=clang++ -std=c++${{ matrix.standard }} -I../../.. -c -DTEST_VIA_STATIC_ASSERT $file.cpp || break -1; done |
527 |
| - working-directory: ../boost-root/libs/type_traits/test |
528 |
| - - name: Create .cu files |
529 |
| - run: for file in $(cat cuda/cuda_tests.txt); do cp $file.cpp $file.cu; done |
530 |
| - working-directory: ../boost-root/libs/type_traits/test |
531 |
| - - name: Testing nvcc on .cu files |
532 |
| - run: for file in $(cat cuda/cuda_tests.txt); do echo "testing $file.cu" && nvcc -std=c++${{ matrix.standard }} -I../../.. -c -DTEST_VIA_STATIC_ASSERT $file.cu || break -1; done |
533 |
| - working-directory: ../boost-root/libs/type_traits/test |
534 |
| - - name: Testing nvcc+clang on .cu files |
535 |
| - run: for file in $(cat cuda/cuda_tests.txt); do echo "testing $file.cu" && nvcc --compiler-bindir=clang++ -std=c++${{ matrix.standard }} -I../../.. -c -DTEST_VIA_STATIC_ASSERT $file.cu || break -1; done |
536 |
| - working-directory: ../boost-root/libs/type_traits/test |
537 |
| - - name: Testing clang on .cu files |
538 |
| - run: for file in $(cat cuda/cuda_tests.txt); do echo "testing $file.cu" && clang++ -nocudalib --no-cuda-version-check --cuda-gpu-arch=sm_75 -std=c++${{ matrix.standard }} -I../../.. -c -DTEST_VIA_STATIC_ASSERT $file.cu || break -1; done |
539 |
| - working-directory: ../boost-root/libs/type_traits/test |
540 |
| - - name: Testing nvcc on .cu files |
541 |
| - run: for file in $(cat cuda/cuda_tests.txt); do echo "testing $file.cu" && nvcc -std=c++${{ matrix.standard }} -I../../.. -c -DTEST_CUDA_DEVICE $file.cu || break -1; done |
542 |
| - working-directory: ../boost-root/libs/type_traits/test |
543 |
| - - name: Testing clang on .cu files |
544 |
| - run: for file in $(cat cuda/cuda_tests.txt); do echo "testing $file.cu" && clang++ -nocudalib --no-cuda-version-check --cuda-gpu-arch=sm_75 -std=c++${{ matrix.standard }} -I../../.. -c -DTEST_CUDA_DEVICE $file.cu || break -1; done |
545 |
| - working-directory: ../boost-root/libs/type_traits/test |
0 commit comments