Skip to content

Commit

Permalink
Create model-build-test-ci.yml (#10)
Browse files Browse the repository at this point in the history
* Create model-build-test-ci.yml

* Update model-build-test-ci.yml

* Adds optional input for RHS-aware model components

---------

Co-authored-by: Tommy Gatti <[email protected]>
  • Loading branch information
anton-seaice and CodeGat authored Dec 17, 2024
1 parent 24f55e8 commit 23aec5d
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/model-build-test-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Test model build

on:
workflow_dispatch:
pull_request:
branches:
- "master"
- "access-esm1.5"
push:
branches:
- "master"
- "access-esm1.5"
jobs:
build:
name: Build ${{ github.repository }} via spack
uses: access-nri/build-ci/.github/workflows/model-1-build.yml@main
with:
rhs-branch: ${{ (github.base_ref == 'access-esm1.5' || github.ref_name == 'access-esm1.5') && 'access-esm1.5' }}
permissions:
packages: read

0 comments on commit 23aec5d

Please sign in to comment.