Skip to content

Commit

Permalink
CI: use Ubuntu 24.04 for gcc 13 builds
Browse files Browse the repository at this point in the history
We don't need the setup-gcc script, it's already using
gcc 13.
  • Loading branch information
robUx4 committed Sep 21, 2024
1 parent 48ef838 commit eb5b492
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion .github/workflows/linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
cxx: ['7', '13']
cxx: ['7']
env:
CMAKE_OPTIONS: -DDEV_MODE=ON -DBUILD_TESTING=ON -G Ninja
steps:
Expand All @@ -33,6 +33,29 @@ jobs:

- name: Run tests
run: ctest --test-dir _build

Linux-GCC-latest:
runs-on: ubuntu-latest
env:
CMAKE_OPTIONS: -DDEV_MODE=ON -DBUILD_TESTING=ON -G Ninja
steps:
- uses: lukka/get-cmake@latest

- name: Get pushed code
uses: actions/checkout@v4

- name: Configure
run: cmake -S . -B _build ${{ env.CMAKE_OPTIONS }} -DCMAKE_INSTALL_PREFIX:STRING=${GITHUB_WORKSPACE}/_built

- name: Build
run: cmake --build _build --parallel

- name: Test installation
run: cmake --install _build --prefix ${GITHUB_WORKSPACE}/_built

- name: Run tests
run: ctest --test-dir _build

Linux-Clang:
runs-on: ubuntu-20.04
strategy:
Expand Down Expand Up @@ -64,6 +87,7 @@ jobs:

- name: Run tests
run: ctest --test-dir _build

Alpine:
runs-on: ubuntu-latest
strategy:
Expand Down

0 comments on commit eb5b492

Please sign in to comment.