mirror of
https://github.com/libusb/libusb.git
synced 2025-05-29 22:57:39 +00:00
CI: Add MinGW build on MSYS2 (Windows)
Closes #1102 Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
This commit is contained in:
parent
78de7dc4b9
commit
385eaafba1
2 changed files with 22 additions and 1 deletions
21
.github/workflows/msys2.yml
vendored
Normal file
21
.github/workflows/msys2.yml
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
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
|
||||
- name: CI-Build
|
||||
run: |
|
||||
echo 'Running in MSYS2!'
|
||||
./bootstrap.sh
|
||||
./.private/ci-build.sh --build-dir build-msys2
|
|
@ -1 +1 @@
|
|||
#define LIBUSB_NANO 11717
|
||||
#define LIBUSB_NANO 11718
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue