Skip to content

Commit 8b54722

Browse files
authored
Merge pull request #11 from ACCESS-NRI/infra-update-v3
`build-ci v3`: Update Infra For `spack v1`
2 parents 8ec3010 + 6d93696 commit 8b54722

4 files changed

Lines changed: 24 additions & 7 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"gcc_compiler": "gcc@13.2.0",
2+
"gcc_compiler_version": "13.2.0",
33
"target": "x86_64"
44
}

.github/build-ci/manifests/gcc-ad.spack.yaml.j2

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,18 @@ spack:
22
specs:
33
- issm @git.{{ ref }} +wrappers +ad
44
packages:
5+
# Workaround due to https://github.com/spack/spack-packages/pull/3644
6+
re2c:
7+
require:
8+
- '@3.1'
9+
10+
gcc:
11+
require:
12+
- '@{{ gcc_compiler_version }}'
513
all:
614
require:
7-
- '%{{ gcc_compiler }} target={{ target}}'
15+
- '%access_gcc'
16+
- 'target={{ target }}'
817
concretizer:
918
unify: false
1019
view: false

.github/build-ci/manifests/gcc-no-ad.spack.yaml.j2

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,18 @@ spack:
22
specs:
33
- issm @git.{{ ref }} +wrappers ~ad
44
packages:
5+
# Workaround due to https://github.com/spack/spack-packages/pull/3644
6+
re2c:
7+
require:
8+
- '@3.1'
9+
10+
gcc:
11+
require:
12+
- '@{{ gcc_compiler_version }}'
513
all:
614
require:
7-
- '%{{ gcc_compiler }} target={{ target}}'
15+
- '%access_gcc'
16+
- 'target={{ target }}'
817
concretizer:
918
unify: false
1019
view: false

.github/workflows/ci.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,10 @@ jobs:
2626
max-parallel: 2
2727
matrix:
2828
file: ${{ fromJson(needs.pre-ci.outputs.matrix) }}
29-
uses: access-nri/build-ci/.github/workflows/ci.yml@v2
29+
uses: access-nri/build-ci/.github/workflows/ci.yml@v3
3030
with:
3131
spack-manifest-path: ${{ matrix.file }}
3232
allow-ssh-into-spack-install: false # If true, PR author must ssh into instance to complete job
3333
spack-manifest-data-path: .github/build-ci/data/standard.json
34-
# spack-packages-ref: main
35-
# spack-config-ref: main
36-
# spack-ref: releases/v0.22
34+
# Default args (including explicit spack/spack-packages/spack-config versions)
35+
# are specified in https://github.com/ACCESS-NRI/build-ci/tree/v3/.github/workflows#inputs

0 commit comments

Comments
 (0)