Skip to content

Commit

Permalink
Merge pull request #24 from mcuee/msys2_action
Browse files Browse the repository at this point in the history
Add MSYS2 mingw64 github action
  • Loading branch information
mcuee authored Nov 1, 2022
2 parents 88740f0 + 0ff8334 commit 8f1b5d9
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/msys2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: MSYS2 build
on: [push, pull_request]

jobs:
build:
runs-on: windows-latest
defaults:
run:
shell: msys2 {0}
steps:
- uses: actions/checkout@v2
- uses: msys2/setup-msys2@v2
with:
msystem: MINGW64
update: true
install: git mingw-w64-x86_64-cc mingw-w64-x86_64-autotools mingw-w64-x86_64-libusb
- name: CI-Build
run: |
echo 'Running in MSYS2!'
./bootstrap.sh
./configure --enable-examples-build && make -j4
- name: runtest
shell: bash
run: ./examples/testlibusb

0 comments on commit 8f1b5d9

Please sign in to comment.