Skip to content

Commit

Permalink
Add model build CI for CABLE offline
Browse files Browse the repository at this point in the history
Making CABLE available as a spack package allows us to test the model
compiles successfully inside a continuous integration (CI) environment
which gets triggered automatically on a pull request. This change adds
the model build CI workflow developed by the ACCESS-NRI release team to
compile CABLE offline via spack (see build-ci for more details).

Fixes #202
  • Loading branch information
SeanBryan51 committed Mar 18, 2024
1 parent dabb1c9 commit 913846a
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/model-build-test-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Test model build

on:
workflow_dispatch:
pull_request:
push:
branches:
- "master"

jobs:
build:
name: Build ${{ github.repository }} via spack
uses: access-nri/build-ci/.github/workflows/model-1-build.yml@main
permissions:
packages: read

0 comments on commit 913846a

Please sign in to comment.