Skip to content

Commit

Permalink
Add mingw to PATH on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
serivesmejia authored Aug 6, 2023
1 parent cb79ace commit 697a068
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/build_natives.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@ jobs:
# You can convert this to a matrix build if you need cross-platform coverage.
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
runs-on: windows-latest

defaults:
run:
shell: bash

steps:
- uses: actions/checkout@v3
with:
Expand All @@ -55,10 +50,13 @@ jobs:
distribution: 'adopt' # See 'Supported distributions' for available options
java-version: '8'

- name: Add MingW64 to PATH
run: Add-Content $env:GITHUB_PATH "C:\msys64\mingw64\bin"

- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
run: cmake .
run: cmake . -DCMAKE_CXX_COMPILER=g++

- name: Build
# Build your program with the given configuration
Expand Down

0 comments on commit 697a068

Please sign in to comment.