mirror of https://github.com/ppy/osu
68 lines
2.4 KiB
YAML
68 lines
2.4 KiB
YAML
clone_depth: 1
|
|
version: '{build}'
|
|
image: Visual Studio 2019
|
|
test: off
|
|
skip_non_tags: true
|
|
configuration: Release
|
|
|
|
environment:
|
|
matrix:
|
|
- job_name: osu-game
|
|
- job_name: osu-ruleset
|
|
job_depends_on: osu-game
|
|
- job_name: taiko-ruleset
|
|
job_depends_on: osu-game
|
|
- job_name: catch-ruleset
|
|
job_depends_on: osu-game
|
|
- job_name: mania-ruleset
|
|
job_depends_on: osu-game
|
|
|
|
nuget:
|
|
project_feed: true
|
|
|
|
for:
|
|
-
|
|
matrix:
|
|
only:
|
|
- job_name: osu-game
|
|
build_script:
|
|
- cmd: dotnet pack osu.Game\osu.Game.csproj /p:Version=%APPVEYOR_REPO_TAG_NAME%
|
|
-
|
|
matrix:
|
|
only:
|
|
- job_name: osu-ruleset
|
|
build_script:
|
|
- cmd: dotnet remove osu.Game.Rulesets.Osu\osu.Game.Rulesets.Osu.csproj reference osu.Game\osu.Game.csproj
|
|
- cmd: dotnet add osu.Game.Rulesets.Osu\osu.Game.Rulesets.Osu.csproj package ppy.osu.Game -v %APPVEYOR_REPO_TAG_NAME%
|
|
- cmd: dotnet pack osu.Game.Rulesets.Osu\osu.Game.Rulesets.Osu.csproj /p:Version=%APPVEYOR_REPO_TAG_NAME%
|
|
-
|
|
matrix:
|
|
only:
|
|
- job_name: taiko-ruleset
|
|
build_script:
|
|
- cmd: dotnet remove osu.Game.Rulesets.Taiko\osu.Game.Rulesets.Taiko.csproj reference osu.Game\osu.Game.csproj
|
|
- cmd: dotnet add osu.Game.Rulesets.Taiko\osu.Game.Rulesets.Taiko.csproj package ppy.osu.Game -v %APPVEYOR_REPO_TAG_NAME%
|
|
- cmd: dotnet pack osu.Game.Rulesets.Taiko\osu.Game.Rulesets.Taiko.csproj /p:Version=%APPVEYOR_REPO_TAG_NAME%
|
|
-
|
|
matrix:
|
|
only:
|
|
- job_name: catch-ruleset
|
|
build_script:
|
|
- cmd: dotnet remove osu.Game.Rulesets.Catch\osu.Game.Rulesets.Catch.csproj reference osu.Game\osu.Game.csproj
|
|
- cmd: dotnet add osu.Game.Rulesets.Catch\osu.Game.Rulesets.Catch.csproj package ppy.osu.Game -v %APPVEYOR_REPO_TAG_NAME%
|
|
- cmd: dotnet pack osu.Game.Rulesets.Catch\osu.Game.Rulesets.Catch.csproj /p:Version=%APPVEYOR_REPO_TAG_NAME%
|
|
-
|
|
matrix:
|
|
only:
|
|
- job_name: mania-ruleset
|
|
build_script:
|
|
- cmd: dotnet remove osu.Game.Rulesets.Mania\osu.Game.Rulesets.Mania.csproj reference osu.Game\osu.Game.csproj
|
|
- cmd: dotnet add osu.Game.Rulesets.Mania\osu.Game.Rulesets.Mania.csproj package ppy.osu.Game -v %APPVEYOR_REPO_TAG_NAME%
|
|
- cmd: dotnet pack osu.Game.Rulesets.Mania\osu.Game.Rulesets.Mania.csproj /p:Version=%APPVEYOR_REPO_TAG_NAME%
|
|
|
|
artifacts:
|
|
- path: '**\*.nupkg'
|
|
|
|
deploy:
|
|
- provider: Environment
|
|
name: nuget |