From 17e7506d4500e4dd77d1a0b6fa731a08e5884064 Mon Sep 17 00:00:00 2001 From: George Gayno Date: Thu, 12 Dec 2024 19:12:05 +0000 Subject: [PATCH] Try gnu 13 and ubuntu 24.04 --- .github/workflows/ubuntu_gcc.yaml | 12 ++++++------ ci/spack.yaml | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ubuntu_gcc.yaml b/.github/workflows/ubuntu_gcc.yaml index 40e271841..2b48194b6 100644 --- a/.github/workflows/ubuntu_gcc.yaml +++ b/.github/workflows/ubuntu_gcc.yaml @@ -10,9 +10,9 @@ defaults: env: cache_key: gcc - CC: gcc-12 - FC: gfortran-12 - CXX: g++-12 + CC: gcc-13 + FC: gfortran-13 + CXX: g++-13 # The jobs are split into: # 1. a dependency build step (setup), and @@ -23,7 +23,7 @@ env: jobs: setup: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: checkout # this is to get the ci/spack.yaml file @@ -47,7 +47,7 @@ jobs: run: | git clone -c feature.manyFiles=true https://github.com/JCSDA/spack.git source spack/share/spack/setup-env.sh - sed "s/\[oneapi, gcc@12:12, apple-clang@14\]/\[gcc@12:12\]/g" ufs_utils/ci/spack.yaml > spack_ci.yaml + sed "s/\[oneapi, gcc@13:13, apple-clang@14\]/\[gcc@13:13\]/g" ufs_utils/ci/spack.yaml > spack_ci.yaml spack env create ufs_utils-env spack_ci.yaml spack env activate ufs_utils-env sudo apt install cmake @@ -59,7 +59,7 @@ jobs: ufs_utils: needs: setup - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: checkout diff --git a/ci/spack.yaml b/ci/spack.yaml index 9fae4f37b..567d894a9 100644 --- a/ci/spack.yaml +++ b/ci/spack.yaml @@ -2,7 +2,7 @@ spack: packages: all: - compiler: [oneapi, gcc@12:12, apple-clang@14] + compiler: [oneapi, gcc@13:13, apple-clang@14] specs: - netcdf-c@4.9.2 - netcdf-fortran@4.6.1