Skip to content

Commit

Permalink
win latest_2
Browse files Browse the repository at this point in the history
  • Loading branch information
montythind committed Oct 22, 2024
1 parent 520a401 commit b80a221
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,19 @@ jobs:
mingw-w64-x86_64-netcdf-fortran
msystem: MINGW64

- name: Add MSYS2 to Path
- name: Add MSYS2 to PATH
run: |
echo "C:/msys64/mingw64/bin" >> $GITHUB_ENV
echo "C:/msys64/usr/bin" >> $GITHUB_ENV
[Environment]::SetEnvironmentVariable('PATH', $env:PATH + ';C:\\msys64\\mingw64\\bin', [EnvironmentVariableTarget]::Process)
[Environment]::SetEnvironmentVariable('PATH', $env:PATH + ';C:\\msys64\\usr\\bin', [EnvironmentVariableTarget]::Process)
- name: List MSYS2 binaries
run: Get-ChildItem C:/msys64/mingw64/bin

- name: Verify PkgConfig installation
run: pkg-config --version
- name: Test pkg-config
run: C:\\msys64\\mingw64\\bin\\pkg-config.exe --version

- name: Configure with CMake
run: cmake -G "MinGW Makefiles" -B build -D PKG_CONFIG_EXECUTABLE=C:\\msys64\\mingw64\\bin\\pkg-config.exe


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

0 comments on commit b80a221

Please sign in to comment.