Skip to content

Commit

Permalink
Update Ubuntu versions on CI
Browse files Browse the repository at this point in the history
Signed-off-by: Uilian Ries <uilianries@gmail.com>
  • Loading branch information
uilianries committed Aug 14, 2024
1 parent 68f4461 commit e597337
Showing 1 changed file with 14 additions and 21 deletions.
35 changes: 14 additions & 21 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,20 @@ on:
- 'doc/**'

jobs:
linux:
linux-ubuntu-24.04:
strategy:
fail-fast: false
matrix:
compiler:
- g++-9
- g++-10
- g++-11
- g++-12
- clang++-12
- clang++-13
- clang++-14
- g++-13
- g++-14
- clang++-16
- clang++-17
- clang++-18
build_type: [Debug, Release]

runs-on: ubuntu-latest
runs-on: ubuntu-24.04

env:
CXX: ${{ matrix.compiler }}
Expand All @@ -44,30 +43,24 @@ jobs:
- working-directory: build/
run: ctest --output-on-failure

linux-old:
linux-ubuntu-22.04:
strategy:
fail-fast: false
matrix:
compiler:
- clang++-7
- clang++-8
- clang++-9
- clang++-10
- clang++-11
- clang++-13
- clang++-14
- clang++-15
build_type: [Debug, Release]

runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

env:
CXX: ${{ matrix.compiler }}

steps:
- uses: actions/checkout@v3

- run: sudo apt-get update -y

- run: sudo apt-get install -y ${{ matrix.compiler }}

- run: cmake -E make_directory build

- working-directory: build/
Expand All @@ -86,7 +79,7 @@ jobs:
flags: ["-fno-rtti", "-fno-exceptions"]
build_type: [Debug, Release]

runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v3
Expand All @@ -109,7 +102,7 @@ jobs:
flags: ["-fno-rtti", "-fno-exceptions", "-fms-extensions"]
build_type: [Debug, Release]

runs-on: ubuntu-latest
runs-on: ubuntu-24.04

env:
CXX: clang++
Expand Down

0 comments on commit e597337

Please sign in to comment.