-
Notifications
You must be signed in to change notification settings - Fork 8
26 lines (26 loc) · 1.12 KB
/
ci.yml
File metadata and controls
26 lines (26 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
name: Build
on:
pull_request:
branches:
- main
jobs:
ci:
name: CI
strategy:
fail-fast: false
matrix:
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.yml@v3
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 }}
# 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: false
spack-oci-buildcache-url: oci://ghcr.io/CABLE-LSM/build-ci-buildcache # https://github.com/orgs/CABLE-LSM/packages/container/package/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