Some checks failed
Linux / Build Linux (push) Has been cancelled
Linux / Build Linux-1 (push) Has been cancelled
macOS / Build macOS (push) Has been cancelled
macOS / Build macOS-1 (push) Has been cancelled
Windows (MinGW) / Build MinGW (push) Has been cancelled
Windows (MinGW) / Build MinGW-1 (push) Has been cancelled
Windows (MSVC) / Build Windows (push) Has been cancelled
Windows (MSVC) / Build Windows-1 (push) Has been cancelled
27 lines
651 B
YAML
27 lines
651 B
YAML
name: Windows (MSVC)
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build-windows:
|
|
name: Build Windows
|
|
runs-on: windows-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
platform: [x64, Win32]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: microsoft/setup-msbuild@v2
|
|
|
|
- name: Build ${{ matrix.platform }}
|
|
run: |
|
|
$options = @( `
|
|
'-property:Configuration=Release', `
|
|
'-property:Platform=${{ matrix.platform }}', `
|
|
'-maxcpucount', `
|
|
'-verbosity:minimal' `
|
|
)
|
|
& msbuild Windows\VisualStudio\quakespasm.sln $options
|
|
if (-not $?) { throw "Build failed" }
|