Skip to content

Commit

Permalink
Remove use of ubuntu-18.04 to prepare for deprecation.
Browse files Browse the repository at this point in the history
Note the version requirements of various older gcc/clang variants.
Pull 32-bit compilation up to oldest available gcc.
Add ASAN tests to later Clang builds on Linux.
Add ASAN tests to some MacOS builds (no leak checking though)
  • Loading branch information
pramsey committed Feb 28, 2023
1 parent fbf1f3b commit 5e29c59
Showing 1 changed file with 53 additions and 33 deletions.
86 changes: 53 additions & 33 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,39 +29,24 @@ jobs:
cmake_extra: '-DBUILD_BENCHMARKS=ON'
os: ubuntu-latest

- cxx_compiler: g++-5
c_compiler: gcc-5
build_type: Release
cxxstd: 14
arch: 64
packages: 'g++-5-multilib gcc-5-multilib'
cmake: 3.13.*
os: ubuntu-18.04

- cxx_compiler: g++-5
c_compiler: gcc-5
build_type: Release
cxxstd: 14
arch: 32
packages: 'g++-5-multilib gcc-5-multilib g++-multilib gcc-multilib'
cmake: 3.13.*
os: ubuntu-18.04
# gcc 6 and lower are not supported
# in ubuntu 20.04 and higher

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

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

Expand Down Expand Up @@ -92,24 +77,30 @@ jobs:
cmake: 3.13.*
os: ubuntu-20.04

# gcc 10 and lower are not supported
# in ubuntu 22.04 and higher

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

- cxx_compiler: g++-11
c_compiler: gcc-11
- cxx_compiler: g++-12
c_compiler: gcc-12
build_type: Release
cxxstd: 20
arch: 64
packages: 'g++'
packages: 'g++-12-multilib gcc-12-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
Expand Down Expand Up @@ -138,23 +129,52 @@ jobs:
os: ubuntu-20.04

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

- cxx_compiler: clang++-10
c_compiler: clang
# clang 10 and lower are not supported
# in ubuntu 22.04 and higher

- cxx_compiler: clang++-11
c_compiler: clang-11
build_type: Debug
cxxstd: 14
arch: 64
packages: 'clang-11'
cmake: 3.25.*
os: ubuntu-22.04

- cxx_compiler: clang++-12
c_compiler: clang-12
build_type: ASAN
cxxstd: 14
arch: 64
packages: 'clang'
packages: 'clang-12'
cmake: 3.25.*
os: ubuntu-20.04
os: ubuntu-22.04

- cxx_compiler: clang++-13
c_compiler: clang-13
build_type: ASAN
cxxstd: 17
arch: 64
packages: 'clang-13'
cmake: 3.25.*
os: ubuntu-22.04

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

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

0 comments on commit 5e29c59

Please sign in to comment.