Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Build

on:
push

env:
SOLUTION_FILE_PATH: UnrealVR.sln
BUILD_CONFIGURATION: Release

jobs:
Win64:
runs-on: windows-latest

steps:
- uses: actions/checkout@v3
with:
submodules: True

- name: Add MSBuild to PATH
uses: microsoft/[email protected]

- name: Restore NuGet packages
working-directory: ${{env.GITHUB_WORKSPACE}}
run: nuget restore ${{env.SOLUTION_FILE_PATH}}

- name: Build
working-directory: ${{env.GITHUB_WORKSPACE}}
run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} /p:Platform=x64 /p:ErrorOnDuplicatePublishOutputFiles=false ${{env.SOLUTION_FILE_PATH}}

- name: Upload a Build Artifact
uses: actions/[email protected]
with:
name: "UnrealVR"
path: "${{github.workspace}}/x64/Release/"

- name: Upload a Build Artifact
uses: actions/[email protected]
with:
name: "UnrealVRLauncher"
path: "${{github.workspace}}/UnrealVRLauncher/bin/x64/Release/"