File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - master
7- - try-github-actions
7+ - try-github-actions-for-windows
88 paths :
99 - .github/workflows/cmake.yml
1010 - ' **CMakeLists.txt'
5959 strategy :
6060 fail-fast : true
6161 matrix :
62- os : [ macos-latest, ubuntu-latest ]
62+ os : [ macos-latest, ubuntu-latest, windows-latest ]
6363 fflags : [
6464 " -fimplicit-none -frecursive -fcheck=all" ,
6565 " -fimplicit-none -frecursive -fcheck=all -fopenmp" ]
@@ -76,12 +76,12 @@ jobs:
7676 -D CMAKE_C_COMPILER="gcc-11"
7777 -D CMAKE_Fortran_COMPILER="gfortran-11"
7878
79- # - name: Use Unix Makefiles on Windows
80- # if: ${{ matrix.os == 'windows-latest' }}
81- # run: >
82- # cmake -B build
83- # -G "Unix Makefiles"
84- # -D CMAKE_C_FLAGS="${{env.CFLAGS}} -Wl,--stack=1000000000"
79+ - name : Use Unix Makefiles on Windows
80+ if : ${{ matrix.os == 'windows-latest' }}
81+ run : >
82+ cmake -B build
83+ -G "Unix Makefiles"
84+ -D CMAKE_C_FLAGS="${{env.CFLAGS}} -Wl,--stack=1000000000"
8585
8686 - name : Configure CMake
8787 # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
You can’t perform that action at this time.
0 commit comments