From b3225b984e427980bf1c943fa1acb1ad3ca03f3f Mon Sep 17 00:00:00 2001 From: mjreno Date: Sat, 12 Oct 2024 16:18:35 -0400 Subject: [PATCH] t6 --- .github/actions/build-netcdf-win/action.yml | 4 ++-- .github/common/compile_modflow6_netcdf.bat | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .github/common/compile_modflow6_netcdf.bat diff --git a/.github/actions/build-netcdf-win/action.yml b/.github/actions/build-netcdf-win/action.yml index 7d5bb0d5e4c..89994b12bbb 100644 --- a/.github/actions/build-netcdf-win/action.yml +++ b/.github/actions/build-netcdf-win/action.yml @@ -83,8 +83,8 @@ runs: - name: Build modflow6 shell: cmd run: | - unix2dos -n "%GITHUB_WORKSPACE%\modflow6\.github\common\compile_modflow6.bat" "%TEMP%\compile_modflow6.bat" - "%ONEAPI_ROOT%\setvars.bat" intel64 vs2022 && "%TEMP%\compile_modflow6.bat" + unix2dos -n "%GITHUB_WORKSPACE%\modflow6\.github\common\compile_modflow6_netcdf.bat" "%TEMP%\compile_modflow6_netcdf.bat" + "%ONEAPI_ROOT%\setvars.bat" intel64 vs2022 && "%TEMP%\compile_modflow6_netcdf.bat" - name: Show Meson logs if: failure() diff --git a/.github/common/compile_modflow6_netcdf.bat b/.github/common/compile_modflow6_netcdf.bat new file mode 100644 index 00000000000..5282680e0ba --- /dev/null +++ b/.github/common/compile_modflow6_netcdf.bat @@ -0,0 +1,5 @@ +set FC=ifort +cd "%GITHUB_WORKSPACE%\modflow6" +pixi run setup -Dnetcdf=true builddir +pixi run build builddir +pixi run pytest -v --durations=0 --netcdf -k "test_netcdf"