|
| 1 | +name: Test extended MF6 (Windows) |
| 2 | +description: Build and test extended MODFLOW 6 on Windows |
| 3 | +runs: |
| 4 | + using: "composite" |
| 5 | + steps: |
| 6 | + |
| 7 | + - name: Build MF6 parallel |
| 8 | + uses: ./modflow6/.github/actions/build-extended-win |
| 9 | + |
| 10 | + - name: Update flopy |
| 11 | + working-directory: modflow6 |
| 12 | + shell: cmd |
| 13 | + run: pixi run update-flopy |
| 14 | + |
| 15 | + - name: Get executables |
| 16 | + working-directory: modflow6/autotest |
| 17 | + shell: cmd |
| 18 | + env: |
| 19 | + GITHUB_TOKEN: ${{ github.token }} |
| 20 | + run: pixi run get-exes |
| 21 | + |
| 22 | + - name: Convert unix2dos |
| 23 | + shell: cmd |
| 24 | + run: | |
| 25 | + unix2dos -n "%GITHUB_WORKSPACE%\modflow6\.github\common\test_modflow6_parallel.bat" "%TEMP%\test_modflow6_parallel.bat" |
| 26 | + unix2dos -n "%GITHUB_WORKSPACE%\modflow6\.github\common\test_modflow6_serial.bat" "%TEMP%\test_modflow6_serial.bat" |
| 27 | + unix2dos -n "%GITHUB_WORKSPACE%\modflow6\.github\common\test_modflow6_netcdf.bat" "%TEMP%\test_modflow6_netcdf.bat" |
| 28 | +
|
| 29 | + - name: Test programs (parallel) |
| 30 | + if: github.ref_name != 'master' |
| 31 | + shell: cmd |
| 32 | + env: |
| 33 | + REPOS_PATH: ${{ github.workspace }} |
| 34 | + run: | |
| 35 | + "%ONEAPI_ROOT%\setvars.bat" intel64 vs2022 && "%TEMP%\test_modflow6_parallel.bat" |
| 36 | +
|
| 37 | + - name: Test programs (parallel) |
| 38 | + if: github.ref_name == 'master' |
| 39 | + shell: cmd |
| 40 | + env: |
| 41 | + REPOS_PATH: ${{ github.workspace }} |
| 42 | + MARKERS: not developmode |
| 43 | + run: | |
| 44 | + "%ONEAPI_ROOT%\setvars.bat" intel64 vs2022 && "%TEMP%\test_modflow6_parallel.bat" |
| 45 | +
|
| 46 | + - name: Test programs (netcdf) |
| 47 | + if: github.ref_name != 'master' |
| 48 | + shell: cmd |
| 49 | + env: |
| 50 | + REPOS_PATH: ${{ github.workspace }} |
| 51 | + run: | |
| 52 | + "%ONEAPI_ROOT%\setvars.bat" intel64 vs2022 && "%TEMP%\test_modflow6_netcdf.bat" |
| 53 | +
|
| 54 | + - name: Test programs (netcdf) |
| 55 | + if: github.ref_name == 'master' |
| 56 | + shell: cmd |
| 57 | + env: |
| 58 | + REPOS_PATH: ${{ github.workspace }} |
| 59 | + MARKERS: not developmode |
| 60 | + run: | |
| 61 | + "%ONEAPI_ROOT%\setvars.bat" intel64 vs2022 && "%TEMP%\test_modflow6_netcdf.bat" |
| 62 | +
|
| 63 | + - name: Test programs (serial) |
| 64 | + if: github.ref_name != 'master' |
| 65 | + shell: cmd |
| 66 | + env: |
| 67 | + REPOS_PATH: ${{ github.workspace }} |
| 68 | + run: | |
| 69 | + "%ONEAPI_ROOT%\setvars.bat" intel64 vs2022 && "%TEMP%\test_modflow6_serial.bat" |
| 70 | +
|
| 71 | + - name: Test programs (serial) |
| 72 | + if: github.ref_name == 'master' |
| 73 | + shell: cmd |
| 74 | + env: |
| 75 | + REPOS_PATH: ${{ github.workspace }} |
| 76 | + MARKERS: not developmode |
| 77 | + run: | |
| 78 | + "%ONEAPI_ROOT%\setvars.bat" intel64 vs2022 && "%TEMP%\test_modflow6_serial.bat" |
0 commit comments