forked from MODFLOW-USGS/modflow6
-
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.
- Loading branch information
mjreno
authored and
mjreno
committed
Oct 8, 2024
1 parent
de9b543
commit 80e4268
Showing
9 changed files
with
95 additions
and
43 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 |
---|---|---|
@@ -1,6 +1,8 @@ | ||
name: MODFLOW 6 continuous integration | ||
on: | ||
push: | ||
branches: | ||
- netcdf_ciwin_test | ||
paths-ignore: | ||
- '**.md' | ||
- '**.pdf' | ||
|
@@ -545,6 +547,53 @@ jobs: | |
name: failed-${{ matrix.os }} | ||
path: modflow6/autotest/.failed | ||
|
||
netcdf_test: | ||
name: NetCDF executable testing | ||
needs: | ||
- lint | ||
- build | ||
- smoke_test | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ ubuntu-22.04, macos-12, windows-2022 ] | ||
defaults: | ||
run: | ||
shell: bash | ||
|
||
steps: | ||
|
||
- name: Checkout MF6 | ||
uses: actions/checkout@v4 | ||
with: | ||
path: modflow6 | ||
|
||
- name: Setup pixi | ||
uses: prefix-dev/[email protected] | ||
with: | ||
pixi-version: v0.24.2 | ||
manifest-path: "modflow6/pixi.toml" | ||
|
||
- name: Custom pixi install | ||
working-directory: modflow6 | ||
run: pixi run install | ||
|
||
- name: Install additional netcdf testing packages | ||
working-directory: modflow6 | ||
run: pixi run pip install xugrid xarray netcdf4 | ||
|
||
- name: Test extended MF6 | ||
if: runner.os != 'Windows' | ||
uses: ./modflow6/.github/actions/test-extended | ||
|
||
- name: Upload failed test output | ||
if: failure() | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: failed-${{ matrix.os }} | ||
path: modflow6/autotest/.failed | ||
|
||
extended_test: | ||
name: Extended executable testing | ||
needs: | ||
|
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
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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
option('extended', type : 'boolean', value : false, description : 'Extended build with external libraries') | ||
option('parallel', type : 'boolean', value : false, description : 'Extended parallel build') | ||
option('netcdf', type : 'boolean', value : false, description : 'Extended NetCDF build') | ||
option('mpich', type : 'boolean', value : false, description : 'Use MPICH version of MPI') | ||
option('cray', type : 'boolean', value : false, description : 'Extended build on CRAY with MPICH') | ||
option('buildname', type : 'string', value : 'mf6', description : 'Optional build name') |
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