From 76f6e9070610db15bf51c022c0dd631feefd7d32 Mon Sep 17 00:00:00 2001 From: Alex Richert Date: Sat, 5 Oct 2024 07:30:42 -0700 Subject: [PATCH] Linux_versions.yml: add a test with GCC14 (#758) --- .github/workflows/Linux_versions.yml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/.github/workflows/Linux_versions.yml b/.github/workflows/Linux_versions.yml index 775d02c2..7beb52b4 100644 --- a/.github/workflows/Linux_versions.yml +++ b/.github/workflows/Linux_versions.yml @@ -20,10 +20,8 @@ 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 @@ -31,13 +29,24 @@ jobs: 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 @@ -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