@@ -144,18 +144,18 @@ jobs:
144144 run : |
145145 pixi run -e gcc-extended-build gcc-extended-build-update
146146
147- - name : Setup and build the extended MF6 build in the gcc-extended-build environment
147+ - name : Build extended MF6
148148 run : |
149- pixi run -e gcc-extended-build setup builddir -Dextended=true
149+ pixi run -e gcc-extended-build setup-extended builddir
150150 pixi run -e gcc-extended-build build builddir
151151
152152 - name : Show build log
153153 if : failure()
154154 run : cat builddir/meson-logs/meson-log.txt
155155
156- - name : Unit test the extended MF6 build in the gcc-extended-build environment
156+ - name : Unit test extended MF6
157157 run : pixi run -e gcc-extended-build test builddir
158-
158+
159159 build-static :
160160 name : Static gcc build
161161 runs-on : ${{ matrix.os }}
@@ -770,13 +770,6 @@ jobs:
770770 with :
771771 path : modflow6
772772
773- - name : Setup gfortran
774- if : runner.os != 'Windows'
775- uses : fortran-lang/setup-fortran@v1
776- with :
777- compiler : gcc
778- version : 13
779-
780773 - name : Setup pixi
781774 uses : prefix-dev/setup-pixi@v0.9.6
782775 with :
@@ -785,7 +778,12 @@ jobs:
785778
786779 - name : Custom pixi install
787780 working-directory : modflow6
788- run : pixi run install
781+ run : |
782+ if [ "$RUNNER_OS" != "Windows" ]; then
783+ pixi run -e gcc-extended-build install
784+ else
785+ pixi run install
786+ fi
789787
790788 - name : Set LDFLAGS (macOS)
791789 if : runner.os == 'macOS'
@@ -801,12 +799,37 @@ jobs:
801799 id : set_filters
802800 run : echo "filters=test_par or test_netcdf" >> $GITHUB_OUTPUT
803801
802+ - name : Update pc files
803+ if : runner.os != 'Windows'
804+ working-directory : modflow6
805+ run : pixi run -e gcc-extended-build gcc-extended-build-update
806+
807+ - name : Build extended MF6
808+ if : runner.os != 'Windows'
809+ working-directory : modflow6
810+ run : |
811+ pixi run -e gcc-extended-build setup-extended builddir
812+ pixi run -e gcc-extended-build build builddir
813+ pixi run -e gcc-extended-build test builddir
814+
815+ - name : Show Meson logs
816+ if : runner.os != 'Windows' && failure()
817+ working-directory : modflow6
818+ run : cat builddir/meson-logs/meson-log.txt
819+
820+ - name : Get executables
821+ if : runner.os != 'Windows'
822+ working-directory : modflow6
823+ env :
824+ GITHUB_TOKEN : ${{ github.token }}
825+ run : pixi run -e gcc-extended-build get-exes
826+
804827 - name : Test extended MF6
805828 if : runner.os != 'Windows'
806- uses : ./ modflow6/.github/actions/test-extended
829+ working-directory : modflow6
807830 env :
808- MARKERS : ${{ steps.set_markers.outputs.markers }}
809- FILTERS : ${{ steps.set_filters.outputs.filters }}
831+ REPOS_PATH : ${{ github.workspace }}
832+ run : pixi run -e gcc-extended-build autotest --parallel --netcdf -m ' ${{ steps.set_markers.outputs.markers }}' -k '${{ steps. set_filters.outputs.filters }}'
810833
811834 - name : Test extended MF6
812835 if : runner.os == 'Windows'
0 commit comments