diff options
author | Tormod Volden <debian.tormod@gmail.com> | 2022-03-28 15:37:28 +0200 |
---|---|---|
committer | Tormod Volden <debian.tormod@gmail.com> | 2022-04-04 13:30:49 +0200 |
commit | 385eaafba1b79eebcb65087c86744c492262573f (patch) | |
tree | 248f1086b25c523b87481e54fafc19bf01d8e1ba /.github/workflows/msys2.yml | |
parent | 78de7dc4b9010cb3c598cb9cf9e4fe647e030c38 (diff) | |
download | libusb-385eaafba1b79eebcb65087c86744c492262573f.tar.gz |
CI: Add MinGW build on MSYS2 (Windows)
Closes #1102
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Diffstat (limited to '.github/workflows/msys2.yml')
-rw-r--r-- | .github/workflows/msys2.yml | 21 |
1 files changed, 21 insertions, 0 deletions
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 |