author | Pete Batard <pete@akeo.ie> | 2024年12月21日 11:22:05 +0100 |
---|---|---|
committer | Pete Batard <pete@akeo.ie> | 2024年12月21日 11:32:51 +0100 |
commit | c94ee68313e11797c4a68d4db56af79cf2021029 (patch) | |
tree | 26b871a272e1a3330c940e0ccbdd291e5ab12658 | |
parent | a8c7b92c45b781769c2f1f584af77b962cefb382 (diff) | |
download | libcdio-c94ee68313e11797c4a68d4db56af79cf2021029.tar.gz |
-rw-r--r-- | .github/workflows/mingw.yml | 36 |
diff --git a/.github/workflows/mingw.yml b/.github/workflows/mingw.yml new file mode 100644 index 00000000..e85600a3 --- /dev/null +++ b/.github/workflows/mingw.yml @@ -0,0 +1,36 @@ +name: Windows, MinGW + +on: [push, pull_request] + +jobs: + build-and-test: + runs-on: windows-latest + + strategy: + matrix: + include: + - { sys: mingw64, env: x86_64 } + - { sys: mingw32, env: i686 } + + defaults: + run: + shell: msys2 {0} + + steps: + - uses: actions/checkout@v4 + - name: Setup + uses: msys2/setup-msys2@v2 + with: + msystem: ${{ matrix.sys }} + update: true + install: >- + mingw-w64-${{ matrix.env }}-toolchain + base-devel + autotools + help2man + - name: Build + run: | + ./autogen.sh + make -j4 + - name: Test + run: make check |