Added UWP to appveyor.yaml (#3959)
This commit is contained in:
parent
8efbcf2058
commit
1ca5e5681b
6 changed files with 56 additions and 39 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -455,4 +455,4 @@ uwp-project/Assets/data
|
||||||
uwp-project/Assets/fonts
|
uwp-project/Assets/fonts
|
||||||
uwp-project/Assets/gendata
|
uwp-project/Assets/gendata
|
||||||
uwp-project/Assets/ui_art
|
uwp-project/Assets/ui_art
|
||||||
|
!uwp-project/devilutionX_TemporaryKey.pfx
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,4 @@ powershell "Get-Content ..\uwp-project\Package.appxmanifest.template | %% {$_ -r
|
||||||
|
|
||||||
msbuild /p:Configuration=Release;Platform=x64;AppxBundle=Always;AppxBundlePlatforms=x64 ..\uwp-project\devilutionx.sln
|
msbuild /p:Configuration=Release;Platform=x64;AppxBundle=Always;AppxBundlePlatforms=x64 ..\uwp-project\devilutionx.sln
|
||||||
|
|
||||||
powershell "Get-Childitem -Path uwp-project\AppxPackages, uwp-project\Release -Include Microsoft.VCLibs.x64.*.appx, devilutionX_*_x64.appx -File -Recurse | Copy-Item -Destination ..\Packaging\xbox-one"
|
powershell "Get-Childitem -Path uwp-project\AppxPackages, uwp-project\Release -Include Microsoft.VCLibs.x64.*.appx, devilutionX_*_x64.appx -File -Recurse | Compress-Archive -DestinationPath ..\devilutionx.zip"
|
||||||
|
|
||||||
cd ..\Packaging\xbox-one
|
|
||||||
|
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
||||||
version: 1.0.{build}
|
|
||||||
|
|
||||||
pull_requests:
|
|
||||||
do_not_increment_build_number: true
|
|
||||||
image: Visual Studio 2022
|
|
||||||
|
|
||||||
before_build:
|
|
||||||
- cd %APPVEYOR_BUILD_FOLDER%\Packaging\xbox-one
|
|
||||||
|
|
||||||
build_script:
|
|
||||||
- build.bat
|
|
||||||
artifacts:
|
|
||||||
- path: .
|
|
||||||
name: devilutionX_*_x64.appx
|
|
||||||
- path: .
|
|
||||||
name: Microsoft.VCLibs.x64.*.appx
|
|
||||||
65
appveyor.yml
65
appveyor.yml
|
|
@ -2,21 +2,56 @@ version: 1.0.{build}
|
||||||
|
|
||||||
pull_requests:
|
pull_requests:
|
||||||
do_not_increment_build_number: true
|
do_not_increment_build_number: true
|
||||||
image: Visual Studio 2022
|
environment:
|
||||||
cache: '%LOCALAPPDATA%\vcpkg\archives'
|
matrix:
|
||||||
|
|
||||||
install:
|
- job_name: windows
|
||||||
- cd C:\Tools\vcpkg
|
appveyor_build_worker_image: Visual Studio 2022
|
||||||
- git pull
|
|
||||||
- .\bootstrap-vcpkg.bat
|
|
||||||
- cd %APPVEYOR_BUILD_FOLDER%
|
|
||||||
|
|
||||||
before_build:
|
- job_name: uwp
|
||||||
- cmake -G "Visual Studio 17 2022" -A x64 -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=c:/tools/vcpkg/scripts/buildsystems/vcpkg.cmake .
|
appveyor_build_worker_image: Visual Studio 2022
|
||||||
|
|
||||||
build:
|
for:
|
||||||
project: $(APPVEYOR_BUILD_FOLDER)\$(APPVEYOR_PROJECT_NAME).sln
|
-
|
||||||
verbosity: minimal
|
matrix:
|
||||||
artifacts:
|
only:
|
||||||
- path: Debug\devilutionx.exe
|
- job_name: windows
|
||||||
name: devilutionx.exe
|
|
||||||
|
cache: '%LOCALAPPDATA%\vcpkg\archives'
|
||||||
|
|
||||||
|
install:
|
||||||
|
- if not exist C:\Tools\vcpkg mkdir C:\Tools\vcpkg
|
||||||
|
- cd C:\Tools\vcpkg
|
||||||
|
- git pull
|
||||||
|
- .\bootstrap-vcpkg.bat
|
||||||
|
- cd %APPVEYOR_BUILD_FOLDER%
|
||||||
|
|
||||||
|
before_build:
|
||||||
|
- cmake -G "Visual Studio 17 2022" -A x64 -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=c:/tools/vcpkg/scripts/buildsystems/vcpkg.cmake .
|
||||||
|
|
||||||
|
build:
|
||||||
|
project: $(APPVEYOR_BUILD_FOLDER)\$(APPVEYOR_PROJECT_NAME).sln
|
||||||
|
verbosity: minimal
|
||||||
|
|
||||||
|
artifacts:
|
||||||
|
- path: Debug\devilutionx.exe
|
||||||
|
name: devilutionx.exe
|
||||||
|
|
||||||
|
-
|
||||||
|
matrix:
|
||||||
|
only:
|
||||||
|
- job_name: uwp
|
||||||
|
|
||||||
|
before_build:
|
||||||
|
- cd %APPVEYOR_BUILD_FOLDER%\Packaging\xbox-one
|
||||||
|
- if exist ..\..\build rd /s /q ..\..\build
|
||||||
|
|
||||||
|
build_script:
|
||||||
|
- build.bat
|
||||||
|
|
||||||
|
after_build:
|
||||||
|
- cd %APPVEYOR_BUILD_FOLDER%
|
||||||
|
|
||||||
|
artifacts:
|
||||||
|
- path: devilutionx.zip
|
||||||
|
name: devilutionx.zip
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
<Identity
|
<Identity
|
||||||
Name="b6830ff4-1ef5-4907-9d9e-1ba808edf70f"
|
Name="b6830ff4-1ef5-4907-9d9e-1ba808edf70f"
|
||||||
Publisher="CN=devilutionX"
|
Publisher="CN=devilutionX"
|
||||||
Version="__PROJECT_VERSION__" />
|
Version="__PROJECT_VERSION__.0" />
|
||||||
|
|
||||||
<mp:PhoneIdentity PhoneProductId="b6830ff4-1ef5-4907-9d9e-1ba808edf70f" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>
|
<mp:PhoneIdentity PhoneProductId="b6830ff4-1ef5-4907-9d9e-1ba808edf70f" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>
|
||||||
|
|
||||||
|
|
|
||||||
BIN
uwp-project/devilutionX_TemporaryKey.pfx
Normal file
BIN
uwp-project/devilutionX_TemporaryKey.pfx
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue