forked from NOAA-GFDL/FMS
-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (29 loc) · 884 Bytes
/
github_mom_gnu.yml
File metadata and controls
32 lines (29 loc) · 884 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Run MOM6 test suite
# runs on PR's or when manually triggered
on: [workflow_dispatch, pull_request]
# cancel running jobs if theres a newer push
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
container:
image: ghcr.io/noaa-gfdl/fms/fms-ci-rocky-gnu:13.2.0
credentials:
username: ${{ github.actor }}
password: ${{ secrets.github_token }}
steps:
- name: Checkout MOM6 repository
uses: actions/[email protected]
with:
repository: 'NOAA-GFDL/MOM6'
submodules: recursive
- name: Checkout FMS into MOM build
uses: actions/[email protected]
with:
path: .testing/deps/fms/src
- name: Build FMS and MOM test suite
run: make -C .testing -j
- name: Run MOM tests
run: make -C .testing -j test