Skip to content

Commit c1e750e

Browse files
committed
Use latest ubuntu/compilers on GHA.
1 parent 3e59d3a commit c1e750e

1 file changed

Lines changed: 4 additions & 53 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
name: CI
88
on: [ push, pull_request ]
99
jobs:
10-
ubuntu-focal:
11-
runs-on: ubuntu-20.04
10+
ubuntu:
11+
runs-on: ubuntu-latest
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
compiler: [ g++-9, g++-10, clang++-10 ]
15+
compiler: [ g++-13, g++-14, clang++-19 ]
1616
steps:
1717
- uses: actions/checkout@v2
1818
with:
@@ -24,10 +24,8 @@ jobs:
2424
fail-fast: true
2525
- name: Set TOOLSET
2626
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"
2927
- 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
3129
- name: Checkout main boost
3230
run: git clone -b develop --depth 1 https://github.com/boostorg/boost.git ../boost-root
3331
- name: Update tools/boostdep
@@ -54,53 +52,6 @@ jobs:
5452
- name: Test
5553
run: ../../../b2 toolset=$TOOLSET cxxstd=03,11,14,17,2a
5654
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
10455
macos:
10556
runs-on: macos-latest
10657
strategy:

0 commit comments

Comments
 (0)