Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/build-ci/compilers/spack.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
spack:
specs:
- [email protected] %[email protected]
- [email protected]
view: false
concretizer:
unify: false
5 changes: 4 additions & 1 deletion .github/build-ci/manifests/gcc.spack.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@ spack:
specs:
- cable@git.{{ ref }}
packages:
gcc:
require:
- '@13.2.0'
all:
require:
- '%[email protected]'
- '%access_gcc'
- target=x86_64
concretizer:
unify: false
Expand Down
8 changes: 7 additions & 1 deletion .github/build-ci/manifests/intel.spack.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@ spack:
specs:
- cable@git.{{ ref }}
packages:
python:
require:
- '@3.11.14'
intel-oneapi-compilers-classic:
require:
- '@2021.10.0'
all:
require:
- '%[email protected]'
- '%access_intel'
- target=x86_64
concretizer:
unify: false
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,15 @@ jobs:
spack-manifest-path:
- .github/build-ci/manifests/gcc.spack.yaml.j2
- .github/build-ci/manifests/intel.spack.yaml.j2
uses: access-nri/build-ci/.github/workflows/ci-github-hosted.yml@v2
uses: access-nri/build-ci/.github/workflows/ci.yml@268-github-hosted-pull-fix
with:
# For defaults for args not specified here (eg. spack/packages/config refs), see https://github.com/ACCESS-NRI/build-ci/blob/v3/.github/workflows/README.md
spack-manifest-path: ${{ matrix.spack-manifest-path }}
spack-config-ref: 2025.11.000 # Before build-ci@v2-breaking change to spack-config, don't go any further forward!
spack-packages-ref: api-v2 # This branch contains the package defs compatible with spack >=1.0. May be incorporated into the main branch
spack-ref: releases/v1.0
allow-ssh-into-spack-install: false
container-image-version: :rocky-v1.0-2025.09.000 # https://github.com/ACCESS-NRI/build-ci/pkgs/container/build-ci-upstream/501398004?tag=rocky-v1.0-2025.09.000
# We need to install the compilers manually here because the upstream image is too large to run on GitHub-hosted runners
spack-compiler-manifest-path: .github/build-ci/compilers/spack.yaml
allow-ssh-into-spack-install: true
spack-oci-buildcache-url: oci://ghcr.io/CABLE-LSM/build-ci-buildcache # https://github.com/CABLE-LSM/CABLE/pkgs/container/build-ci-buildcache
# Since CABLE-LSM can't access ACCESS-NRI's self-hosted runners, we use a GitHub-hosted version
run-self-hosted: false
permissions:
packages: write
Loading