From 385eaafba1b79eebcb65087c86744c492262573f Mon Sep 17 00:00:00 2001 From: Tormod Volden Date: Mon, 28 Mar 2022 15:37:28 +0200 Subject: [PATCH] CI: Add MinGW build on MSYS2 (Windows) Closes #1102 Signed-off-by: Tormod Volden --- .github/workflows/msys2.yml | 21 +++++++++++++++++++++ libusb/version_nano.h | 2 +- 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/msys2.yml 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 -- 2.7.4