Skip to content

Dockerfile : keep libmad, set libmpg123 for Mac builds #790

Dockerfile : keep libmad, set libmpg123 for Mac builds

Dockerfile : keep libmad, set libmpg123 for Mac builds #790

Workflow file for this run

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