NG+ mode for remastered levels #1266
Workflow file for this run
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
# This is a basic workflow to help you get started with Actions | |
name: CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
buildx64: | |
name: Build x64 | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: setup-msbuild | |
uses: microsoft/setup-msbuild@v1 | |
- name: Build Solution (x64) | |
run: msbuild trview.sln /property:Configuration=Release /property:Platform=x64 /m | |
- name: Test Solution (x64) | |
run: | | |
$any_errors = $false | |
foreach ($file in Get-ChildItem x64\Release\*.tests.exe -Exclude trview.app.ui.tests.exe) | |
{ | |
. $file; | |
if (!$?) | |
{ | |
$any_errors = $true; | |
} | |
} | |
if ($any_errors) | |
{ | |
throw "One or more tests failed" | |
} | |
- name: Upload Artifact (x64) | |
uses: actions/upload-artifact@v4 | |
with: | |
name: trview-x64 | |
path: x64\Release\trview.exe |