Skip to content

Commit

Permalink
Try putting msys64 on PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
multiplemonomials committed Oct 15, 2023
1 parent cdba583 commit a6da944
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/compile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ jobs:
with:
submodules: true
- name: Install libusb and ucrt64 GCC compiler
shell: bash
run: |
$env:PATH = "C:\msys64\usr\bin;$env:PATH"
pacman -S mingw-w64-ucrt-x86_64-libusb mingw-w64-ucrt-x86_64-gcc ninja
- name: Compile project
shell: bash
run: |
$env:PATH = "C:\msys64\usr\bin;C:\msys64\ucrt64\usr\bin;$env:PATH"
mkdir build
cd build
cmake .. -GNinja -DUSE_WERROR=TRUE -DCMAKE_C_COMPILER=mingw-w64-ucrt-x86_64-gcc -DCMAKE_CXX_COMPILER=mingw-w64-ucrt-x86_64-g++
Expand Down

0 comments on commit a6da944

Please sign in to comment.