forked from mom-ocean/MOM6
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Testing out a new structure, moving the OS-specific stuff into a separate file. (Currently just package installs)
- Loading branch information
1 parent
a53af30
commit 0e69c81
Showing
12 changed files
with
77 additions
and
109 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
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
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,19 @@ | ||
name: 'install-ubuntu-prerequisites' | ||
|
||
description: 'Install prerequisites for Ubuntu Linux compilation' | ||
|
||
runs: | ||
using: 'composite' | ||
steps: | ||
- name: Install Ubuntu Linux packages | ||
shell: bash | ||
run: | | ||
echo "::group::Install linux packages" | ||
sudo apt-get update | ||
sudo apt-get install netcdf-bin | ||
sudo apt-get install libnetcdf-dev | ||
sudo apt-get install libnetcdff-dev | ||
sudo apt-get install mpich | ||
sudo apt-get install libmpich-dev | ||
sudo apt-get install linux-tools-common | ||
echo "::endgroup::" |
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
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
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
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,35 @@ | ||
name: MacOS regression | ||
|
||
on: [pull_request] | ||
|
||
jobs: | ||
test-macos-regression: | ||
|
||
runs-on: macOS-latest | ||
|
||
## TODO: Move these to the macos config file? | ||
#env: | ||
# CC: gcc-11 | ||
# FC: gfortran-11 | ||
|
||
defaults: | ||
run: | ||
working-directory: .testing | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: recursive | ||
|
||
- uses: ./.github/actions/macos-setup | ||
|
||
- uses: ./.github/actions/testing-setup | ||
|
||
- name: Compile reference model | ||
run: make build.regressions MOM_TARGET_SLUG=$GITHUB_REPOSITORY MOM_TARGET_LOCAL_BRANCH=$GITHUB_BASE_REF DO_REGRESSION_TESTS=true -j | ||
|
||
- name: Create validation data | ||
run: make run.symmetric -k -s | ||
|
||
- name: Regression test | ||
run: make test.regression DO_REGRESSION_TESTS=true -k -s |
This file was deleted.
Oops, something went wrong.
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
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
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
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