CI: Add MinGW build on MSYS2 (Windows)
Closes #1102
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
diff --git a/.github/workflows/msys2.yml b/.github/workflows/msys2.yml
new file mode 100644
index 0000000..116ad18
--- /dev/null
+++ b/.github/workflows/msys2.yml
@@ -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
diff --git a/libusb/version_nano.h b/libusb/version_nano.h
index 46b5e01..1de3b3b 100644
--- a/libusb/version_nano.h
+++ b/libusb/version_nano.h
@@ -1 +1 @@
-#define LIBUSB_NANO 11717
+#define LIBUSB_NANO 11718