mirror of https://github.com/OpenRCT2/OpenRCT2.git
ci: windows-mingw improvements
Use cmake -B instead of mkdir for windows-mingw. Add Windows to artifact name for consistency with other Windows jobs.
This commit is contained in:
parent
5221255802
commit
e67327dbb1
|
@ -121,14 +121,14 @@ jobs:
|
||||||
- name: Build OpenRCT2
|
- name: Build OpenRCT2
|
||||||
run: |
|
run: |
|
||||||
sudo su
|
sudo su
|
||||||
mkdir bin && cd bin
|
cmake -B bin -G Ninja -DCMAKE_TOOLCHAIN_FILE=../CMakeLists_mingw.txt -DCMAKE_BUILD_TYPE=Release -DDISABLE_IPO=on -DFORCE32=on ${{ matrix.build_flags }}
|
||||||
cmake .. -G Ninja -DCMAKE_TOOLCHAIN_FILE=../CMakeLists_mingw.txt -DCMAKE_BUILD_TYPE=Release -DDISABLE_IPO=on -DFORCE32=on ${{ matrix.build_flags }}
|
cd bin
|
||||||
ninja -k0
|
ninja -k0
|
||||||
- name: Upload artifacts (CI)
|
- name: Upload artifacts (CI)
|
||||||
if: matrix.platform == 'NT5.1'
|
if: matrix.platform == 'NT5.1'
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: OpenRCT2-${{ matrix.platform }}
|
name: OpenRCT2-Windows-${{ matrix.platform }}
|
||||||
path: bin/openrct2.exe
|
path: bin/openrct2.exe
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
macos-cmake:
|
macos-cmake:
|
||||||
|
|
Loading…
Reference in New Issue