mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-11 10:02:27 +01:00
Merge pull request #10733 from IntelOrca/github-actions-mingw
Add mingw to GitHub CI
This commit is contained in:
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
@@ -57,6 +57,20 @@ jobs:
|
||||
else
|
||||
echo 'Not going to push build'
|
||||
fi
|
||||
windows-mingw:
|
||||
name: Windows (win32) using mingw
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: openrct2/openrct2-build:0.2.4-mingw
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Build OpenRCT2
|
||||
run: |
|
||||
sudo su
|
||||
mkdir bin && cd bin
|
||||
cmake .. -G Ninja -DCMAKE_TOOLCHAIN_FILE=../CMakeLists_mingw.txt -DCMAKE_BUILD_TYPE=MinSizeRel -DDISABLE_IPO=on -DFORCE32=on -DBUILD_SHARED_LIBS=ON
|
||||
ninja -k0
|
||||
macos:
|
||||
name: macOS
|
||||
runs-on: macos-latest
|
||||
|
||||
Reference in New Issue
Block a user