Skip to content

Implement an engine editor for the first time #71

Implement an engine editor for the first time

Implement an engine editor for the first time #71

Workflow file for this run

name: Windows Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
Windows:
runs-on: windows-latest
env:
SOLUTION_FILE_PATH: ./platforms/Windows/
BUILD_CONFIGURATION: Debug
strategy:
matrix:
win-architecture: [ x86, x64 ]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Add MSBuild to PATH
uses: microsoft/[email protected]
with:
msbuild-architecture: ${{matrix.win-architecture}}
- name: Restore NuGet packages
working-directory: ${{env.GITHUB_WORKSPACE}}
run: nuget restore ${{env.SOLUTION_FILE_PATH}}
- name: Build
working-directory: ${{env.GITHUB_WORKSPACE}}
# Add additional options to the MSBuild command line here (like platform or verbosity level).
# See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference
run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} /p:Platform=${{matrix.win-architecture}} ${{env.SOLUTION_FILE_PATH}}
- name: Upload EXE
uses: actions/upload-artifact@v3
with:
name: result-windows-${{matrix.win-architecture}}
path: |
./platforms/Windows/x64/Debug/*.exe
./platforms/Windows/Debug/*.exe