Fix printf error=format #807
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
name: Windows CI (mingw) | |
on: [push, pull_request] | |
jobs: | |
build-mingw: | |
name: ${{ matrix.platform.name }} | |
runs-on: ${{ matrix.platform.os }} | |
defaults: | |
run: | |
shell: ${{ matrix.platform.shell }} | |
strategy: | |
fail-fast: false | |
matrix: | |
platform: | |
- { name: Windows (mingw64), os: windows-latest, shell: 'msys2 {0}', msystem: mingw64, msys-env: mingw-w64-x86_64, makefile: Makefile.w64 } | |
- { name: Windows (mingw32), os: windows-latest, shell: 'msys2 {0}', msystem: mingw32, msys-env: mingw-w64-i686, makefile: Makefile.w32 } | |
steps: | |
- name: Set up MSYS2 | |
uses: msys2/setup-msys2@v2 | |
with: | |
msystem: ${{ matrix.platform.msystem }} | |
install: base-devel | |
${{ matrix.platform.msys-env }}-gcc | |
${{ matrix.platform.msys-env }}-glslang | |
- uses: actions/checkout@v4 | |
- name: Build MinGW | |
run: | | |
set -eu | |
parallel="$(getconf _NPROCESSORS_ONLN)" | |
make -j"${parallel}" -C Quake -f ${{ matrix.platform.makefile }} all | |
- name: Upload vkQuake | |
uses: actions/upload-artifact@v4 | |
with: | |
name: vkQuake archive (${{ matrix.platform.msystem }}) | |
path: | | |
Quake/*.exe | |
Quake/*.dll |