From ec7ba3c5c93ca0993f1aa6016c0d3836ffd24ae1 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Fri, 8 Dec 2023 12:55:55 +0200 Subject: [PATCH] Added MinGW continuous integration workflow --- .github/workflows/build-mingw.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/build-mingw.yml diff --git a/.github/workflows/build-mingw.yml b/.github/workflows/build-mingw.yml new file mode 100644 index 000000000..eae5f846f --- /dev/null +++ b/.github/workflows/build-mingw.yml @@ -0,0 +1,28 @@ +name: MinGW CI + +on: [push, pull_request] + +jobs: + build-linux: + name: Build MinGW + runs-on: ubuntu-22.04 + strategy: + fail-fast: false + matrix: + config: + - target: win32 + package: i686-win32 + + - target: win64 + package: x86-64 + + steps: + - uses: actions/checkout@v4 + + - name: Install Dependencies + run: sudo apt update && sudo apt install gcc-mingw-w64-${{ matrix.config.package }} + + - name: Build MinGW ${{ matrix.config.target }} + run: | + export MAKEFLAGS=--jobs=3\ --keep-going + cd Quake && ./build_cross_${{ matrix.config.target }}-sdl2.sh