Skip to content

Commit

Permalink
Update GHA runners as Ubuntu 20.04 is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
pramsey committed Feb 21, 2025
1 parent 577532d commit 0fdc40a
Showing 1 changed file with 67 additions and 93 deletions.
160 changes: 67 additions & 93 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,71 +38,32 @@ jobs:
- cxx_compiler: g++
c_compiler: gcc
build_type: Coverage
cxxstd: 14
cxxstd: 17
arch: 64
packages: g++
cmake: 3.15.*
cmake_extra: -D BUILD_BENCHMARKS=ON
os: ubuntu-latest

# gcc 6 and lower are not supported
# in ubuntu 20.04 and higher

- cxx_compiler: g++-7
c_compiler: gcc-7
build_type: Release
cxxstd: 14
arch: 64
packages: 'g++-7-multilib gcc-7-multilib'
cmake: 3.17.*
os: ubuntu-20.04

- cxx_compiler: g++-7
c_compiler: gcc-7
build_type: Release
cxxstd: 14
arch: 32
packages: 'g++-7-multilib gcc-7-multilib g++-multilib gcc-multilib'
cmake: 3.18.*
os: ubuntu-20.04

- cxx_compiler: g++-8
c_compiler: gcc-8
build_type: Release
cxxstd: 14
arch: 64
packages: 'g++-8-multilib gcc-8-multilib'
cmake: 3.21.*
os: ubuntu-20.04

- cxx_compiler: g++-9
c_compiler: gcc-9
build_type: Release
cxxstd: 14
arch: 64
packages: 'g++-9-multilib gcc-9-multilib'
cmake: 3.23.*
os: ubuntu-20.04
# gcc 9 and lower are not supported
# in ubuntu 22.04 and higher

- cxx_compiler: g++-10
c_compiler: gcc-10
build_type: Release
cxxstd: 14
cxxstd: 17
arch: 64
packages: 'g++-10-multilib gcc-10-multilib'
cmake: 3.25.*
os: ubuntu-20.04

# gcc 10 and lower are not supported
# in ubuntu 22.04 and higher
cmake: 3.15.*
os: ubuntu-22.04

- cxx_compiler: g++-11
c_compiler: gcc-11
build_type: Release
cxxstd: 17
arch: 64
packages: 'g++-11-multilib gcc-11-multilib'
cmake: 3.27.*
cmake: 3.17.*
os: ubuntu-22.04

- cxx_compiler: g++-12
Expand All @@ -111,56 +72,29 @@ jobs:
cxxstd: 20
arch: 64
packages: 'g++-12-multilib gcc-12-multilib'
cmake: 3.29.*
cmake: 3.20.*
os: ubuntu-22.04

# - cxx_compiler: g++-13
# c_compiler: gcc-13
# build_type: Release
# cxxstd: 17
# arch: 64
# packages: 'g++-13-multilib gcc-13-multilib'
# cmake: 3.22.*
# os: ubuntu-22.04

# clang 6 and lower are not supported
# in ubuntu 20.04 and higher

- cxx_compiler: clang++-7
c_compiler: clang-7
build_type: Release
cxxstd: 14
arch: 64
packages: 'clang-7'
cmake: 3.15.*
os: ubuntu-20.04
# gcc 12 and lower are not supported
# in ubuntu 24.04 and higher

- cxx_compiler: clang++-8
c_compiler: clang-8
- cxx_compiler: g++-13
c_compiler: gcc-13
build_type: Release
cxxstd: 14
arch: 64
packages: 'clang-8'
cmake: 3.17.*
os: ubuntu-20.04

- cxx_compiler: clang++-9
c_compiler: clang-9
build_type: Release
cxxstd: 14
cxxstd: 20
arch: 64
packages: 'clang-9'
cmake: 3.20.*
os: ubuntu-20.04
packages: 'g++-13-multilib gcc-13-multilib'
cmake: 3.25.*
os: ubuntu-24.04

- cxx_compiler: clang++-10
c_compiler: clang-10
- cxx_compiler: g++-14
c_compiler: gcc-14
build_type: Release
cxxstd: 14
cxxstd: 20
arch: 64
packages: 'clang-10'
cmake: 3.21.*
os: ubuntu-20.04
packages: 'g++-14-multilib gcc-14-multilib'
cmake: 3.31.*
os: ubuntu-24.04

# clang 10 and lower are not supported
# in ubuntu 22.04 and higher
Expand All @@ -171,7 +105,7 @@ jobs:
cxxstd: 14
arch: 64
packages: 'clang-11'
cmake: 3.23.*
cmake: 3.15.*
os: ubuntu-22.04

- cxx_compiler: clang++-12
Expand All @@ -180,7 +114,7 @@ jobs:
cxxstd: 14
arch: 64
packages: 'clang-12'
cmake: 3.25.*
cmake: 3.17.*
os: ubuntu-22.04

- cxx_compiler: clang++-13
Expand All @@ -189,7 +123,7 @@ jobs:
cxxstd: 17
arch: 64
packages: 'clang-13'
cmake: 3.27.*
cmake: 3.20.*
os: ubuntu-22.04

- cxx_compiler: clang++-14
Expand All @@ -198,9 +132,49 @@ jobs:
cxxstd: 20
arch: 64
packages: 'clang-14'
cmake: 3.29.*
cmake: 3.22.*
os: ubuntu-22.04

- cxx_compiler: clang++-15
c_compiler: clang-15
build_type: ASAN
cxxstd: 20
arch: 64
packages: 'clang-15'
cmake: 3.24.*
os: ubuntu-22.04

# clang 15 and lower are not supported
# in ubuntu 24.04 and higher

- cxx_compiler: clang++-16
c_compiler: clang-16
build_type: ASAN
cxxstd: 20
arch: 64
packages: 'clang-16'
cmake: 3.26.*
os: ubuntu-24.04

- cxx_compiler: clang++-17
c_compiler: clang-17
build_type: ASAN
cxxstd: 20
arch: 64
packages: 'clang-17'
cmake: 3.28.*
os: ubuntu-24.04

- cxx_compiler: clang++-18
c_compiler: clang-18
build_type: ASAN
cxxstd: 20
arch: 64
packages: 'clang-18'
cmake: 3.30.*
os: ubuntu-24.04


runs-on: ${{ matrix.ci.os }}
steps:

Expand Down Expand Up @@ -536,7 +510,7 @@ jobs:

cmake-subproject:
name: 'CMake Subproject'
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- name: 'Install'
run: |
Expand Down

0 comments on commit 0fdc40a

Please sign in to comment.