Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
montythind committed Oct 23, 2024
1 parent bdf2b4b commit 37a96e5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ on:
jobs:
gnu:
runs-on: windows-latest
defaults:
run:
shell: bash

steps:
- name: Checkout code
Expand All @@ -27,18 +30,15 @@ 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;', 'Process')
- name: Verify PkgConfig installation
run: |
& "C:\\msys64\\mingw64\\bin\\pkg-config.exe" --version
run: pkg-config --version

- name: Configure with CMake
shell: bash
run: cmake -G "MinGW Makefiles" -B build -D PKG_CONFIG_EXECUTABLE=/mingw64/bin/pkg-config

- name: Build the project
Expand Down

0 comments on commit 37a96e5

Please sign in to comment.