forked from ppy/osu-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor_deploy.yml
62 lines (56 loc) · 3.15 KB
/
appveyor_deploy.yml
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
clone_depth: 1
version: '{build}'
test: off
skip_non_tags: true
environment:
matrix:
- job_name: framework-desktop
job_group: framework-base
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
- job_name: framework-xamarin
job_group: framework-base
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
- job_name: templates
job_depends_on: framework-base
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
nuget:
project_feed: true
for:
-
matrix:
only:
- job_name: framework-desktop
build_script:
- cmd: PowerShell -Version 2.0 .\build.ps1 -Target DeployFrameworkDesktop
-
matrix:
only:
- job_name: framework-xamarin
build_script:
- cmd: PowerShell -Version 2.0 .\build.ps1 -Target DeployFrameworkXamarin
-
matrix:
only:
- job_name: templates
build_script:
- cmd: dotnet remove osu.Framework.Templates\templates\template-empty\TemplateGame.Game\TemplateGame.Game.csproj reference osu.Framework\osu.Framework.csproj
- cmd: dotnet remove osu.Framework.Templates\templates\template-empty\TemplateGame.iOS\TemplateGame.iOS.csproj reference osu.Framework\osu.Framework.csproj
- cmd: dotnet remove osu.Framework.Templates\templates\template-empty\TemplateGame.iOS\TemplateGame.iOS.csproj reference osu.Framework.iOS\osu.Framework.iOS.csproj
- cmd: dotnet remove osu.Framework.Templates\templates\template-flappy\FlappyDon.Game\FlappyDon.Game.csproj reference osu.Framework\osu.Framework.csproj
- cmd: dotnet remove osu.Framework.Templates\templates\template-flappy\FlappyDon.iOS\FlappyDon.iOS.csproj reference osu.Framework\osu.Framework.csproj
- cmd: dotnet remove osu.Framework.Templates\templates\template-flappy\FlappyDon.iOS\FlappyDon.iOS.csproj reference osu.Framework.iOS\osu.Framework.iOS.csproj
- cmd: dotnet add osu.Framework.Templates\templates\template-empty\TemplateGame.Game\TemplateGame.Game.csproj package ppy.osu.Framework -v %APPVEYOR_REPO_TAG_NAME%
- cmd: dotnet add osu.Framework.Templates\templates\template-empty\TemplateGame.iOS\TemplateGame.iOS.csproj package ppy.osu.Framework -v %APPVEYOR_REPO_TAG_NAME%
- cmd: dotnet add osu.Framework.Templates\templates\template-empty\TemplateGame.iOS\TemplateGame.iOS.csproj package ppy.osu.Framework.iOS -v %APPVEYOR_REPO_TAG_NAME%
- cmd: dotnet add osu.Framework.Templates\templates\template-empty\FlappyDon.Game\FlappyDon.Game.csproj package ppy.osu.Framework -v %APPVEYOR_REPO_TAG_NAME%
- cmd: dotnet add osu.Framework.Templates\templates\template-empty\FlappyDon.iOS\FlappyDon.iOS.csproj package ppy.osu.Framework -v %APPVEYOR_REPO_TAG_NAME%
- cmd: dotnet add osu.Framework.Templates\templates\template-empty\FlappyDon.iOS\FlappyDon.iOS.csproj package ppy.osu.Framework.iOS -v %APPVEYOR_REPO_TAG_NAME%
# Can't remove framework props import in template iOS projects. String-replacement happens inside build.cake instead.
- cmd: PowerShell -Version 2.0 .\build.ps1 -Target DeployFrameworkTemplates
deploy:
- provider: Environment
name: nuget
skip_symbols: false
artifact: /.*(\.|\.s)nupkg/
- provider: Environment
name: github