Browse Source

Changed some stuff for AppVeyor builds

pull/32/head
Anairkoen Schno 5 years ago
parent
commit
8707224bb0
1 changed files with 63 additions and 57 deletions
  1. +63
    -57
      appveyor.yml

+ 63
- 57
appveyor.yml View File

@ -4,7 +4,11 @@ environment:
bsipa_version: '3.12.24'
gh_token:
secure: E42gl/yepETuoLSwbJZ1GmEIPK6cCJu6zkd59NA21XiICtEV6COOLW7aehi1tcVU
BUILD_DOCS: 'no'
matrix:
BUILD_DOC:
- 'yes'
- 'no'
pull_requests:
do_not_increment_build_number: true
@ -30,66 +34,24 @@ platform:
artifacts:
- path: IPA/bin/$(configuration)
name: BSIPA-$(platform)
for:
-
matrix:
only:
- configuration: Release
platform: x64
environment:
BUILD_DOCS: 'yes'
artifacts:
- path: BSIPA-ModList/bin/$(configuration)
name: ModList
branches:
except:
- gh-pages
cache:
- '%LocalAppData%\NuGet\v3-cache' # NuGet v3
build:
verbosity: normal
project: BSIPA.sln
skip_tags: false
deploy:
- provider: GitHub
release: BSIPA $(bsipa_version)-draft
tag: $(bsipa_version)-d
description: |
**Build:** [$(bsipa_version)-$(APPVEYOR_BUILD_NUMBER)](https://ci.appveyor.com/project/nike4613/beatsaber-ipa-reloaded-9smsb/builds/$(APPVEYOR_BUILD_ID)) [$(configuration)|$(platform)]
**Latest Commit:** $(APPVEYOR_REPO_COMMIT)
- `$(APPVEYOR_REPO_COMMIT_MESSAGE)`
- `$(APPVEYOR_REPO_COMMIT_MESSAGE_EXTENDED)`
auth_token:
secure: KhF3q/zWEFwrW0QeZLqE3NAkWR4u9iVhsmcyzXvwwJ28fUy+MzW4CWBx3RxNM60t
artifact: /.*\.zip/
draft: true
force_update: true
on:
branch: master
APPVEYOR_REPO_TAG: false
- provider: GitHub
release: -ignore-
tag: create_tag
description: |
**Build:** [$(bsipa_version)-$(APPVEYOR_BUILD_NUMBER)](https://ci.appveyor.com/project/nike4613/beatsaber-ipa-reloaded-9smsb/builds/$(APPVEYOR_BUILD_ID))
auth_token:
secure: KhF3q/zWEFwrW0QeZLqE3NAkWR4u9iVhsmcyzXvwwJ28fUy+MzW4CWBx3RxNM60t
draft: true
force_update: true
on:
branch: master
APPVEYOR_REPO_TAG: true
matrix:
exclude:
#- BUILD_DOC: 'yes' # Add one of these for most configuration sets, so we don't dupe
# configuration: Release
# platform: x64
before_deploy:
for:
-
matrix:
except:
- BUILD_DOC: 'no'
build: off
after_build:
- ps: |
if ($env:APPVEYOR_REPO_BRANCH -eq 'master' -and $env:BUILD_DOCS -eq 'yes')
if ($env:APPVEYOR_REPO_BRANCH -eq 'master')
{
cd docs
@ -111,7 +73,7 @@ before_deploy:
& docfx metadata
& docfx build --globalMetadataFiles link_branch.json @Args
if ($lastexitcode -ne 0){
throw [System.Exception] "docfx build failed with exit code $lastexitcode."
throw [System.Exception] "docfx build failed with exit code $lastexitcode."
}
}
@ -145,3 +107,47 @@ before_deploy:
git push -q origin gh-pages 2>&1
}
branches:
except:
- gh-pages
cache:
- '%LocalAppData%\NuGet\v3-cache' # NuGet v3
build:
verbosity: normal
project: BSIPA.sln
skip_tags: false
deploy:
- provider: GitHub
release: BSIPA $(bsipa_version)-draft
tag: $(bsipa_version)-d
description: |
**Build:** [$(bsipa_version)-$(APPVEYOR_BUILD_NUMBER)](https://ci.appveyor.com/project/nike4613/beatsaber-ipa-reloaded-9smsb/builds/$(APPVEYOR_BUILD_ID)) [$(configuration)|$(platform)]
**Latest Commit:** $(APPVEYOR_REPO_COMMIT)
- `$(APPVEYOR_REPO_COMMIT_MESSAGE)`
- `$(APPVEYOR_REPO_COMMIT_MESSAGE_EXTENDED)`
auth_token:
secure: KhF3q/zWEFwrW0QeZLqE3NAkWR4u9iVhsmcyzXvwwJ28fUy+MzW4CWBx3RxNM60t
artifact: /.*\.zip/
draft: true
force_update: true
on:
branch: master
APPVEYOR_REPO_TAG: false
- provider: GitHub
release: -ignore-
tag: create_tag
description: |
**Build:** [$(bsipa_version)-$(APPVEYOR_BUILD_NUMBER)](https://ci.appveyor.com/project/nike4613/beatsaber-ipa-reloaded-9smsb/builds/$(APPVEYOR_BUILD_ID))
auth_token:
secure: KhF3q/zWEFwrW0QeZLqE3NAkWR4u9iVhsmcyzXvwwJ28fUy+MzW4CWBx3RxNM60t
draft: true
force_update: true
on:
branch: master
APPVEYOR_REPO_TAG: true

Loading…
Cancel
Save