Skip to content
Closed
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: 3 additions & 3 deletions .github/build-ci/data/standard.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"gcc_compiler": "gcc@13.2.0",
"intel_compiler": "intel@2021.10.0",
"oneapi_compiler": "oneapi@2025.2.0",
"gcc_compiler_ver": "13.2.0",
"intel_compiler_ver": "2021.10.0",
"oneapi_compiler_ver": "2025.2.0",
"target": "x86_64"
}
6 changes: 5 additions & 1 deletion .github/build-ci/manifests/gcc.spack.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,13 @@ spack:
- access-fms @git.{{ ref }} ~large_file
- access-fms @git.{{ ref }} +large_file
packages:
gcc:
require:
- '@{{ gcc_compiler_ver }}'
all:
require:
- '%{{ gcc_compiler }} target={{ target}}'
- '%access_gcc'
- 'target={{ target }}'
concretizer:
unify: false
view: false
7 changes: 6 additions & 1 deletion .github/build-ci/manifests/intel.spack.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,14 @@ spack:
- access-fms @git.{{ ref }} ~large_file
- access-fms @git.{{ ref }} +large_file
packages:
intel-oneapi-compilers-classic:
require:
- '@{{ intel_compiler_ver }}'
all:
require:
- '%{{ intel_compiler }} target={{ target}}'
- '%access_intel'
prefer:
- 'target={{ target }}'
concretizer:
unify: false
view: false
8 changes: 5 additions & 3 deletions .github/build-ci/manifests/oneapi.spack.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@ spack:
- access-fms @git.{{ ref }} ~large_file
- access-fms @git.{{ ref }} +large_file
packages:
gcc-runtime:
intel-oneapi-compilers:
require:
- '%gcc target={{ target }}'
- '@{{ oneapi_compiler_ver }}'
all:
require:
- '%{{ oneapi_compiler }} target={{ target}}'
- '%access_oneapi'
prefer:
- 'target={{ target }}'
concretizer:
unify: false
view: false
12 changes: 5 additions & 7 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,18 @@ jobs:
run: |
files=$(find .github/build-ci/manifests/ -iname '*.j2' -printf '"%p",')
echo "matrix=[${files%,}]" >> $GITHUB_OUTPUT

ci:
name: CI
needs: pre-ci
strategy:
fail-fast: false
max-parallel: 5
max-parallel: 3
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
allow-ssh-into-spack-install: false # If true, PR author must ssh into instance to complete job
# 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
Loading