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). This workflow compiles CABLE using the
intel compiler. The CI for other compilers will follow after this pull request.

Fixes #202
  • Loading branch information
SeanBryan51 committed Mar 19, 2024
1 parent dabb1c9 commit 5a4ec77
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@983fb50caaf0fe7e93bb3b13e09e81a7b846f7d1
permissions:
packages: read

0 comments on commit 5a4ec77

Please sign in to comment.