forked from irixaligned/duckstation-uwp
-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (25 loc) · 1.15 KB
/
Xenia-Build.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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"