Build Xbox Xenia #6
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: Build Xbox Xenia | |
on: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: windows-2022 | |
steps: | |
- name: Install Git | |
run: | | |
choco install git visualstudio2022buildtools --package-parameters "--add Microsoft.VisualStudio.Workload.MSBuildTools;includeRecommended --add Microsoft.VisualStudio.Workload.VCTools;includeRecommended --quiet" -y | |
- name: setup-msbuild | |
uses: microsoft/setup-msbuild@v2 | |
- name: Clone Xenia UWP repository | |
run: git clone --branch canary_experimental --depth 1 https://github.com/SirMangler/xenia.git | |
- name: Build Xenia | |
run: msbuild xenia/xenia-canary-uwp/xenia-canary-uwp.vcxproj /t:Build /p:Configuration=Release /p:Platform=x64 /p:UapAppxPackageBuildMode=SideLoadOnly /p:AppxBundle=Never /restore | |
- name: Create Xenia Xbox release archive | |
shell: cmd | |
run: | | |
"C:\Program Files\7-Zip\7z.exe" a -r xbox-uwp-release.zip ./bin/x64/* | |
- name: Upload Xenia Xbox release artifact | |
uses: actions/upload-artifact@v1 | |
with: | |
name: "xbox-uwp" | |
path: "xbox-uwp-release.zip" |