forked from mom-ocean/MOM6
-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds a GH workflow to check driver APIs
- Checks that MOM6 can be compiled with the various coupled drivers.
- Loading branch information
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: API for coupled drivers | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
test-top-api: | ||
|
||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: .testing | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: recursive | ||
|
||
- uses: ./.github/actions/testing-setup | ||
|
||
- name: Compile MOM6 for the GFDL coupled driver | ||
shell: bash | ||
run: make check_mom6_api_coupled -j | ||
|
||
- name: Compile MOM6 for the NUOPC driver | ||
shell: bash | ||
run: make check_mom6_api_nuopc -j | ||
|
||
- name: Compile MOM6 for the MCT driver | ||
shell: bash | ||
run: make check_mom6_api_mct -j |