Skip to content

Commit

Permalink
Revert "Linux.yml: test with multiple gcc versions"
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderRichert-NOAA authored Oct 1, 2024
1 parent fc70659 commit 52f7a54
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 13 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/Linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,29 +14,24 @@ on:

jobs:
Linux:
runs-on: ubuntu-24.04
strategy:
matrix:
gcc-version: [12,14]
runs-on: ubuntu-latest
env:
FC: gfortran-11
CC: gcc-11

steps:

- name: get-gcc
run: |
if [ -z $(type -P gcc-${{ matrix.gcc-version }}) ]; then
sudo apt install gcc-${{ matrix.gcc-version }}
fi
- name: checkout
uses: actions/checkout@v4

- 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
4 changes: 2 additions & 2 deletions .github/workflows/MacOS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
MacOS:
runs-on: macos-latest
env:
FC: gfortran-12
CC: gcc-12
FC: gfortran-11
CC: gcc-11
strategy:
matrix:
shared: [ON, OFF]
Expand Down

0 comments on commit 52f7a54

Please sign in to comment.