Skip to content

Set hlv consistent with ESM1.6 UM and CICE #53

Set hlv consistent with ESM1.6 UM and CICE

Set hlv consistent with ESM1.6 UM and CICE #53

Workflow file for this run

name: Build
on:
pull_request:
push:
branches:
- mom5
jobs:
pre-ci:
name: Pre-CI
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- uses: actions/checkout@v4
- name: Set up matrix
id: set-matrix
# Find all relevant files under .github/build-ci/manifests
# then output them as a JSON array (minus the last comma)
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
matrix:
file: ${{ fromJson(needs.pre-ci.outputs.matrix) }}
uses: access-nri/build-ci/.github/workflows/ci.yml@v2
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