diff --git a/.github/build-ci/data/standard.json b/.github/build-ci/data/standard.json index 8d57d36..2b05dcd 100644 --- a/.github/build-ci/data/standard.json +++ b/.github/build-ci/data/standard.json @@ -1,16 +1,16 @@ { - "intel_compiler": "intel@2021.10.0", - "gcc_compiler": "gcc@13.2.0", - "oneapi_compiler": "oneapi@2025.2.0", + "intel_compiler_version": "2021.10.0", + "gcc_compiler_version": "13.2.0", + "oneapi_compiler_version": "2025.2.0", "target": "x86_64", - "mom5_version": "git.2025.08.000=access-om2", - "cice5_version": "git.2025.03.001=access-om2", - "oasis3_mct_version": "git.2025.03.001=access-om2", + "mom5_version": "git.2026.02.000=access-om2", + "cice5_version": "2026.01.000", + "oasis3_mct_version": "git.2025.03.001=stable", "netcdf_c_version": "4.9.2", "netcdf_fortran_version": "4.6.1", - "parallelio_version": "2.6.2", - "openmpi_version": "5.0.5", - "access_fms_version": "git.mom5-2025.05.000=mom5", - "access_generic_tracers_version": "2025.07.002", + "parallelio_version": "2.6.8", + "openmpi_version": "5.0.8", + "access_fms_version": "git.mom5-2025.08.000=mom5", + "access_generic_tracers_version": "2026.02.000", "access_mocsy_version": "2025.07.002" } diff --git a/.github/build-ci/manifests/gcc-access-om2.spack.yaml.j2 b/.github/build-ci/manifests/gcc-access-om2.spack.yaml.j2 index f846e6f..e56a0fc 100644 --- a/.github/build-ci/manifests/gcc-access-om2.spack.yaml.j2 +++ b/.github/build-ci/manifests/gcc-access-om2.spack.yaml.j2 @@ -8,6 +8,7 @@ spack: cice5: require: - '@{{ cice5_version }}' + - 'io_type=PIO build_system=cmake' libaccessom2: require: - '@git.{{ ref }}=access-om2' @@ -35,9 +36,15 @@ spack: openmpi: require: - '@{{ openmpi_version }}' + + # Compilers + gcc: + require: + - '@{{ gcc_compiler_version }}' all: require: - - '%{{ gcc_compiler }} target={{ target }}' + - '%access_gcc' + - 'target={{ target }}' concretizer: unify: false view: false diff --git a/.github/build-ci/manifests/intel-access-om2.spack.yaml.j2 b/.github/build-ci/manifests/intel-access-om2.spack.yaml.j2 index 944a916..172e852 100644 --- a/.github/build-ci/manifests/intel-access-om2.spack.yaml.j2 +++ b/.github/build-ci/manifests/intel-access-om2.spack.yaml.j2 @@ -8,6 +8,7 @@ spack: cice5: require: - '@{{ cice5_version }}' + - 'io_type=PIO build_system=cmake' libaccessom2: require: - '@git.{{ ref }}=access-om2' @@ -35,9 +36,14 @@ spack: openmpi: require: - '@{{ openmpi_version }}' + # Compilers + intel-oneapi-compilers-classic: + require: + - '@{{ intel_compiler_version }}' all: require: - - '%{{ intel_compiler }} target={{ target }}' + - '%access_intel' + - 'target={{ target }}' concretizer: unify: false view: false diff --git a/.github/build-ci/manifests/oneapi-access-om2.spack.yaml.j2 b/.github/build-ci/manifests/oneapi-access-om2.spack.yaml.j2 index 32bc55e..19a2e55 100644 --- a/.github/build-ci/manifests/oneapi-access-om2.spack.yaml.j2 +++ b/.github/build-ci/manifests/oneapi-access-om2.spack.yaml.j2 @@ -8,6 +8,7 @@ spack: cice5: require: - '@{{ cice5_version }}' + - 'io_type=PIO build_system=cmake' libaccessom2: require: - '@git.{{ ref }}=access-om2' @@ -35,12 +36,13 @@ spack: openmpi: require: - '@{{ openmpi_version }}' - gcc-runtime: + intel-oneapi-compilers: require: - - '%gcc' + - '@{{ oneapi_compiler_version }}' all: require: - - '%{{ oneapi_compiler }} target={{ target }}' + - '%access_oneapi' + - 'target={{ target }}' concretizer: unify: false view: false diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index adc856d..bbecfbb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,11 +29,10 @@ jobs: max-parallel: 5 matrix: file: ${{ fromJson(needs.pre-ci.outputs.matrix) }} - uses: access-nri/build-ci/.github/workflows/ci.yml@v2 + uses: access-nri/build-ci/.github/workflows/ci.yml@v3 with: spack-manifest-path: ${{ matrix.file }} allow-ssh-into-spack-install: false # If true, PR author must ssh into instance to complete job spack-manifest-data-path: .github/build-ci/data/standard.json - # spack-packages-ref: main - # spack-config-ref: main - # spack-ref: releases/v0.22 \ No newline at end of file + # Default args (including explicit spack/spack-packages/spack-config versions) + # are specified in https://github.com/ACCESS-NRI/build-ci/tree/v3/.github/workflows#inputs