Skip to content

Commit

Permalink
win test_2
Browse files Browse the repository at this point in the history
  • Loading branch information
montythind committed Oct 25, 2024
1 parent bbb9bf5 commit 54c5410
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ jobs:
mingw-w64-x86_64-netcdf
mingw-w64-x86_64-netcdf-fortran
msystem: MINGW64

- name: Add MSYS2 to Path
run: echo "::add-path::C:\msys64\mingw64\bin"

- name: Check if CMake exists in the expected path
run: cmake --version
Expand All @@ -41,17 +38,7 @@ jobs:
make --version
- name: Configure with CMake
env:
CC: /c/mingw64/bin/gcc
CXX: /c/mingw64/bin/g++
FC: /c/mingw64/bin/gfortran
run: |
gfortran --version
cmake -G "MinGW Makefiles" -B build \
-DCMAKE_MAKE_PROGRAM=/c/mingw64/bin/make \
-DCMAKE_C_COMPILER=/c/mingw64/bin/gcc \
-DCMAKE_CXX_COMPILER=/c/mingw64/bin/g++ \
-DCMAKE_Fortran_COMPILER=/c/mingw64/bin/gfortran
run: cmake -G "MinGW Makefiles" -B build

- name: Build the project
run: cmake --build build

0 comments on commit 54c5410

Please sign in to comment.