Skip to content

Commit

Permalink
Update CI/CD compilers.
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskohlhoff committed Jun 26, 2024
1 parent 69b7c52 commit 33a37e1
Showing 1 changed file with 31 additions and 36 deletions.
67 changes: 31 additions & 36 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
matrix:
build-type: ['sanity']
runs-on: [ubuntu-20.04, ubuntu-22.04, macos-latest]
compiler: [g++-7, g++-8, g++-9, g++-10, g++-11, g++-12, clang++-10, clang++-14, g++]
compiler: [g++-8, g++-9, g++-10, g++-12, g++-13, clang++-10, clang++-14, g++]
cxx-std: ['c++11', 'c++14', 'c++17', 'c++2a', 'c++20']
separate-compilation: ['', '--enable-separate-compilation']
optim-level: ['-O0']
Expand All @@ -24,11 +24,11 @@ jobs:
# New compilers don't run on ubuntu 20.04
- runs-on: ubuntu-20.04
compiler: g++-12
- runs-on: ubuntu-20.04
compiler: g++-13
- runs-on: ubuntu-20.04
compiler: clang++-14
# Older compilers don't run on ubuntu 22.04
- runs-on: ubuntu-22.04
compiler: g++-7
- runs-on: ubuntu-22.04
compiler: g++-8
- runs-on: ubuntu-22.04
Expand All @@ -39,37 +39,31 @@ jobs:
- runs-on: ubuntu-22.04
compiler: g++
# Versioned g++ and clang++ don't run on macOS
- runs-on: macos-latest
compiler: g++-7
- runs-on: macos-latest
compiler: g++-8
- runs-on: macos-latest
compiler: g++-9
- runs-on: macos-latest
compiler: g++-10
- runs-on: macos-latest
compiler: g++-11
- runs-on: macos-latest
compiler: g++-12
- runs-on: macos-latest
compiler: g++-13
- runs-on: macos-latest
compiler: clang++-10
- runs-on: macos-latest
compiler: clang++-14
# Older compilers don't support newer std variants
- compiler: g++-7
cxx-std: c++2a
- compiler: g++-7
cxx-std: c++20
- compiler: g++-8
cxx-std: c++20
- compiler: g++-9
cxx-std: c++20
- compiler: g++-10
cxx-std: c++2a
- compiler: g++-11
cxx-std: c++2a
- compiler: g++-12
cxx-std: c++2a
- compiler: g++-13
cxx-std: c++2a
- compiler: clang++-10
cxx-std: c++20
- compiler: clang++-14
Expand All @@ -86,35 +80,45 @@ jobs:
- runs-on: macos-latest
select-reactor: -DASIO_DISABLE_EPOLL
# Trim builds that use separate compilation
- compiler: g++-7
separate-compilation: --enable-separate-compilation
- compiler: g++-8
separate-compilation: --enable-separate-compilation
- compiler: g++-9
separate-compilation: --enable-separate-compilation
- compiler: g++-10
separate-compilation: --enable-separate-compilation
- compiler: g++-11
separate-compilation: --enable-separate-compilation
- runs-on: macos-latest
cxx-std: c++14
separate-compilation: --enable-separate-compilation
- runs-on: macos-latest
cxx-std: c++17
separate-compilation: --enable-separate-compilation
# Trim builds that use select reactor
- compiler: g++-7
select-reactor: -DASIO_DISABLE_EPOLL
- compiler: g++-8
select-reactor: -DASIO_DISABLE_EPOLL
- compiler: g++-9
select-reactor: -DASIO_DISABLE_EPOLL
- compiler: g++-10
select-reactor: -DASIO_DISABLE_EPOLL
- compiler: g++-11
select-reactor: -DASIO_DISABLE_EPOLL
include:
#
# Linux / g++-13 -std=c++20 -fcoroutines / -O2 / standalone
#
- build-type: full
runs-on: ubuntu-22.04
compiler: g++-13
cxx-std: c++20 -fcoroutines
optim-level: -O2
#
# Linux / g++-13 -std=c++17 / -O2 / boost 1.83
#
- build-type: full
runs-on: ubuntu-22.04
compiler: g++-13
cxx-std: c++17
optim-level: -O2
with-boost: --with-boost=$GITHUB_WORKSPACE/boost_1_83_0
boost-url: https://boostorg.jfrog.io/artifactory/main/release/1.83.0/source/boost_1_83_0.tar.bz2
#
# Linux / g++-12 -std=c++20 -fcoroutines / -O2 / standalone
#
- build-type: full
Expand All @@ -133,15 +137,6 @@ jobs:
with-boost: --with-boost=$GITHUB_WORKSPACE/boost_1_76_0
boost-url: https://boostorg.jfrog.io/artifactory/main/release/1.76.0/source/boost_1_76_0.tar.bz2
#
# Linux / g++-11 -std=c++14 / -O0 / standalone / separate compilation
#
- build-type: full
runs-on: ubuntu-22.04
compiler: g++-11
cxx-std: c++14
separate-compilation: --enable-separate-compilation
optim-level: -O0
#
# Linux / g++-10 / -O2 / standalone
#
- build-type: full
Expand Down Expand Up @@ -220,28 +215,28 @@ jobs:
with-boost: --with-boost=$GITHUB_WORKSPACE/boost_1_83_0
boost-url: https://boostorg.jfrog.io/artifactory/main/release/1.83.0/source/boost_1_83_0.tar.bz2
#
# Linux / g++-7 / -O2 / standalone
# Linux / g++-8 / -O2 / standalone
#
- build-type: full
runs-on: ubuntu-20.04
compiler: g++-7
compiler: g++-8
cxx-std: c++11
optim-level: -O2
#
# Linux / g++-7 / -O0 / standalone / separate compilation
# Linux / g++-8 / -O0 / standalone / separate compilation
#
- build-type: full
runs-on: ubuntu-20.04
compiler: g++-7
compiler: g++-8
cxx-std: c++11
separate-compilation: --enable-separate-compilation
optim-level: -O0
#
# Linux / g++-7 -std=c++11 / -O2 / boost 1.83
# Linux / g++-8 -std=c++11 / -O2 / boost 1.83
#
- build-type: full
runs-on: ubuntu-20.04
compiler: g++-7
compiler: g++-8
cxx-std: c++11
separate-compilation: --enable-separate-compilation
optim-level: -O2
Expand Down

0 comments on commit 33a37e1

Please sign in to comment.