Fix Clang format #836
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 (msvc) | |
on: [push, pull_request] | |
jobs: | |
build-windows: | |
name: Build Windows | |
runs-on: windows-2022 | |
strategy: | |
fail-fast: false | |
matrix: | |
configuration: [Release, Debug] | |
platform: [x64, Win32] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Vulkan SDK | |
uses: humbletim/[email protected] | |
with: | |
version: 1.3.275.0 | |
cache: true | |
- name: Build vkQuake | |
run: | | |
$vswhere = "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe" | |
$msbuild = & "$vswhere" -latest -requires Microsoft.Component.MSBuild -find MSBuild\**\Bin\MSBuild.exe | select-object -first 1 | |
$options = @( ` | |
'-property:Configuration=${{ matrix.configuration }}', ` | |
'-property:Platform=${{ matrix.platform }}', ` | |
'-maxcpucount', ` | |
'-verbosity:minimal' ` | |
) | |
& $msbuild Windows\VisualStudio\vkquake.sln $options | |
if (-not $?) { throw "Build failed" } | |
- name: Upload vkQuake | |
uses: actions/upload-artifact@v4 | |
with: | |
name: vkQuake archive (${{ matrix.configuration }}, ${{ matrix.platform }}) | |
path: | | |
Windows\VisualStudio\Build-vkQuake\**\*.exe | |
Windows\VisualStudio\Build-vkQuake\**\*.dll |