|
7 | 7 | name: CI |
8 | 8 | on: [ push, pull_request ] |
9 | 9 | jobs: |
10 | | - ubuntu-focal: |
11 | | - runs-on: ubuntu-20.04 |
| 10 | + ubuntu: |
| 11 | + runs-on: ubuntu-latest |
12 | 12 | strategy: |
13 | 13 | fail-fast: false |
14 | 14 | matrix: |
15 | | - compiler: [ g++-9, g++-10, clang++-10 ] |
| 15 | + compiler: [ g++-13, g++-14, clang++-19 ] |
16 | 16 | steps: |
17 | 17 | - uses: actions/checkout@v2 |
18 | 18 | with: |
|
24 | 24 | fail-fast: true |
25 | 25 | - name: Set TOOLSET |
26 | 26 | run: echo ${{ matrix.compiler }} | awk '/^g/ { print "TOOLSET=gcc" } /^clang/ { print "TOOLSET=clang" }' >> $GITHUB_ENV |
27 | | - - name: Add repository |
28 | | - run: sudo apt-add-repository -y "ppa:ubuntu-toolchain-r/test" |
29 | 27 | - name: Install packages |
30 | | - run: sudo apt install g++-9 g++-10 clang-10 mpich |
| 28 | + run: sudo apt install g++-13 g++-14 clang-19 mpich |
31 | 29 | - name: Checkout main boost |
32 | 30 | run: git clone -b develop --depth 1 https://github.com/boostorg/boost.git ../boost-root |
33 | 31 | - name: Update tools/boostdep |
|
54 | 52 | - name: Test |
55 | 53 | run: ../../../b2 toolset=$TOOLSET cxxstd=03,11,14,17,2a |
56 | 54 | working-directory: ../boost-root/libs/graph_parallel/test |
57 | | - ubuntu-bionic: |
58 | | - runs-on: ubuntu-18.04 |
59 | | - strategy: |
60 | | - fail-fast: false |
61 | | - matrix: |
62 | | - compiler: [ g++-7, g++-8, clang++-7, clang++-8 ] |
63 | | - steps: |
64 | | - - uses: actions/checkout@v2 |
65 | | - with: |
66 | | - fetch-depth: '0' |
67 | | - - uses: mstachniuk/ci-skip@v1 |
68 | | - with: |
69 | | - commit-filter: '[skip ci];[ci skip];[CI SKIP];[SKIP CI];***CI SKIP***;***SKIP CI***;[windows];[Windows];[WINDOWS];[apple];[Apple];[APPLE]' |
70 | | - commit-filter-separator: ';' |
71 | | - fail-fast: true |
72 | | - - name: Set TOOLSET |
73 | | - run: echo ${{ matrix.compiler }} | awk '/^g/ { print "TOOLSET=gcc" } /^clang/ { print "TOOLSET=clang" }' >> $GITHUB_ENV |
74 | | - - name: Add repository |
75 | | - run: sudo apt-add-repository -y "ppa:ubuntu-toolchain-r/test" |
76 | | - - name: Install packages |
77 | | - run: sudo apt install g++-7 g++-8 clang-7 clang-8 mpich |
78 | | - - name: Checkout main boost |
79 | | - run: git clone -b develop --depth 1 https://github.com/boostorg/boost.git ../boost-root |
80 | | - - name: Update tools/boostdep |
81 | | - run: git submodule update --init tools/boostdep |
82 | | - working-directory: ../boost-root |
83 | | - - name: Copy files |
84 | | - run: cp -r $GITHUB_WORKSPACE/* libs/graph_parallel |
85 | | - working-directory: ../boost-root |
86 | | - - name: Install deps |
87 | | - run: python tools/boostdep/depinst/depinst.py graph_parallel |
88 | | - working-directory: ../boost-root |
89 | | - - name: Bootstrap |
90 | | - run: ./bootstrap.sh |
91 | | - working-directory: ../boost-root |
92 | | - - name: Generate headers |
93 | | - run: ./b2 headers |
94 | | - working-directory: ../boost-root |
95 | | - - name: Generate user config |
96 | | - run: 'echo "using $TOOLSET : : ${{ matrix.compiler }} ;" > ~/user-config.jam && echo "using mpi ;" >> ~/user-config.jam' |
97 | | - working-directory: ../boost-root |
98 | | - - name: Config info install |
99 | | - run: ../../../b2 print_config_info toolset=$TOOLSET cxxstd=03,11,14,17 |
100 | | - working-directory: ../boost-root/libs/config/test |
101 | | - - name: Test |
102 | | - run: ../../../b2 toolset=$TOOLSET cxxstd=03,11,14,17 |
103 | | - working-directory: ../boost-root/libs/graph_parallel/test |
104 | 55 | macos: |
105 | 56 | runs-on: macos-latest |
106 | 57 | strategy: |
|
0 commit comments