Skip to content

Commit

Permalink
Linux.yml: test with multiple gcc versions
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderRichert-NOAA committed Oct 1, 2024
1 parent 951bd06 commit 689f62e
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/Linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ on:
jobs:
Linux:
runs-on: ubuntu-latest
env:
FC: gfortran-11
CC: gcc-11
strategy:
matrix:
gcc-version: [12,14]

steps:

Expand All @@ -26,12 +26,11 @@ jobs:

- name: build
run: |
export CC=gcc-${{ matrix.gcc-version }} ; export FC=gfortran-${{ matrix.gcc-version }}
cmake -B build
cmake --build build --parallel 2 --verbose
- name: test
run: |
set -e
ctest --test-dir build --output-on-failure --rerun-failed --verbose

0 comments on commit 689f62e

Please sign in to comment.