Skip to content

Commit

Permalink
Linux_versions.yml: add a test with GCC14 (#758)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderRichert-NOAA authored Oct 5, 2024
1 parent acaaa0c commit 76f6e90
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/Linux_versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,24 +20,33 @@ concurrency:

jobs:
Linux_versions:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
env:
FC: gfortran
CC: gcc
LD_LIBRARY_PATH: /home/runner/work/NCEPLIBS-g2/NCEPLIBS-g2/nceplibs/jasper/lib/
strategy:
fail-fast: true
matrix:
jasper-version: [2.0.33, 3.0.5, 4.0.0]
bacio-version: [2.4.1, 2.5.0, 2.6.0]
w3emc-version: [2.9.2, 2.9.3, 2.10.0]
gcc-version: [12]
include:
- gcc-version: 14
jasper-version: 4.0.0
bacio-version: 2.6.0
w3emc-version: 2.10.0

steps:

- name: install-dependencies
run: |
sudo apt-get update
sudo apt-get install libpng-dev zlib1g-dev libjpeg-dev
sudo apt-get install libpng-dev zlib1g-dev libjpeg-dev libopenblas-serial-dev
if [ -z $(type -P gcc-${{ matrix.gcc-version }}) ]; then
sudo apt install gcc-${{ matrix.gcc-version }}
fi
echo "CC=gcc-${{ matrix.gcc-version }}" >> $GITHUB_ENV
echo "FC=gfortran-${{ matrix.gcc-version }}" >> $GITHUB_ENV
- name: "Build dependencies"
uses: NOAA-EMC/ci-build-nceplibs@develop
Expand All @@ -49,6 +58,7 @@ jobs:
w3emc-version: v${{ matrix.w3emc-version }}
w3emc-cmake-args: -DBUILD_WITH_BUFR=OFF
ip-version: develop
key-suffix: -gcc${{ matrix.gcc-version }}

- name: checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit 76f6e90

Please sign in to comment.