forked from sezero/quakespasm
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added MinGW continuous integration workflow
- Loading branch information
1 parent
5b56bc4
commit ec7ba3c
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |