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
6 changes: 6 additions & 0 deletions .github/build-ci/config/include.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# This file is included via the manifest
include:
- git: https://github.com/ACCESS-NRI/access-spack-packages
branch: api-v2
paths:
- .github/build-ci/config/include
4 changes: 4 additions & 0 deletions .github/build-ci/config/packages.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
packages:
access3:
require:
- 'configurations=MOM6,MOM6-CICE6,MOM6-CICE6-WW3'
4 changes: 0 additions & 4 deletions .github/build-ci/data/standard.json

This file was deleted.

19 changes: 3 additions & 16 deletions .github/build-ci/manifests/oneapi_access-om3_asymm.spack.yaml.j2
Original file line number Diff line number Diff line change
@@ -1,27 +1,14 @@
spack:
include:
# Include configuration from this repository, with the environment variable defined in build-ci
- path: $SPACK_MANIFEST_REPOSITORY_PATH/.github/build-ci/config
specs:
- 'access-om3@latest ^openmpi'
packages:
cmake:
require:
- '@3.31.6:'
access3:
require:
- 'configurations=MOM6,MOM6-CICE6,MOM6-CICE6-WW3'
access-mom6:
require:
- '@git.{{ ref }}=stable +asymmetric_mem +mom6_solo'
gcc-runtime:
require:
- '%access_gcc'
- 'target={{ target }}'
intel-oneapi-compilers:
require:
- '@{{ oneapi_compiler_version }}'
all:
require:
- '%access_oneapi'
- 'target={{ target }}'
concretizer:
unify: false
view: false
19 changes: 3 additions & 16 deletions .github/build-ci/manifests/oneapi_access-om3_symm.spack.yaml.j2
Original file line number Diff line number Diff line change
@@ -1,27 +1,14 @@
spack:
include:
# Include configuration from this repository, with the environment variable defined in build-ci
- path: $SPACK_MANIFEST_REPOSITORY_PATH/.github/build-ci/config
specs:
- 'access-om3@latest ^openmpi'
packages:
cmake:
require:
- '@3.31.6:'
access3:
require:
- 'configurations=MOM6,MOM6-CICE6,MOM6-CICE6-WW3'
access-mom6:
require:
- '@git.{{ ref }}=stable ~asymmetric_mem +mom6_solo'
gcc-runtime:
require:
- '%access_gcc'
- 'target={{ target }}'
intel-oneapi-compilers:
require:
- '@{{ oneapi_compiler_version }}'
all:
require:
- '%access_oneapi'
- 'target={{ target }}'
concretizer:
unify: false
view: false
16 changes: 3 additions & 13 deletions .github/build-ci/manifests/oneapi_mom6_access3.spack.yaml.j2
Original file line number Diff line number Diff line change
@@ -1,21 +1,11 @@
spack:
include:
# Include configuration from this repository, with the environment variable defined in build-ci
- path: $SPACK_MANIFEST_REPOSITORY_PATH/.github/build-ci/config
specs:
- 'access-mom6@git.{{ ref }}=stable +access3 ~mom6_solo ^openmpi'
packages:
cmake:
require:
- '@3.31.6:'
gcc-runtime:
require:
- '%access_gcc'
- 'target={{ target }}'
intel-oneapi-compilers:
require:
- '@{{ oneapi_compiler_version }}'
all:
require:
- '%access_oneapi'
- 'target={{ target }}'
concretizer:
unify: false
view: false
16 changes: 3 additions & 13 deletions .github/build-ci/manifests/oneapi_mom6_solo.spack.yaml.j2
Original file line number Diff line number Diff line change
@@ -1,21 +1,11 @@
spack:
include:
# Include configuration from this repository, with the environment variable defined in build-ci
- path: $SPACK_MANIFEST_REPOSITORY_PATH/.github/build-ci/config
specs:
- 'access-mom6@git.{{ ref }}=stable ~access3 +mom6_solo ^openmpi'
packages:
cmake:
require:
- '@3.31.6:'
gcc-runtime:
require:
- '%access_gcc'
- 'target={{ target }}'
intel-oneapi-compilers:
require:
- '@{{ oneapi_compiler_version }}'
all:
require:
- '%access_oneapi'
- 'target={{ target }}'
concretizer:
unify: false
view: false
11 changes: 4 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- name: Set up matrix
id: set-matrix
Expand All @@ -29,12 +29,9 @@ jobs:
max-parallel: 5
matrix:
file: ${{ fromJson(needs.pre-ci.outputs.matrix) }}
uses: access-nri/build-ci/.github/workflows/ci.yml@v3
uses: access-nri/build-ci/.github/workflows/ci.yml@v4
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
# builtin-spack-packages-ref: develop
# access-spack-packages-ref: api-v2
# spack-config-ref: main
# spack-ref: releases/v1.1
# More args, including setting spack/spack-config refs, can be found in https://github.com/ACCESS-NRI/build-ci/blob/v4/.github/workflows/README.md

Loading