-
Notifications
You must be signed in to change notification settings - Fork 6
/
appveyor.yml
58 lines (49 loc) · 3.95 KB
/
appveyor.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
version: '1.0.{build}-{branch}'
image: Ubuntu1804
services:
- docker
cache:
- 'nuget-package-dir'
- 'v4-ref-assemblies'
- 'docker-images'
- 'dotnet-tools'
- 'redistlists'
environment:
RELATIVE_NUGET_PACKAGE_DIR: 'nuget-package-dir/'
RELATIVE_CS_OUTPUT: 'output/'
RELATIVE_REDIST_LISTS: 'redistlists/'
CI_FOLDER: 'CIPipeline'
DEPLOYABLE_BRANCH: 'HEAD'
PACKAGE_SCRIPT_WITHIN_CONTAINER: 'Build/package.sh'
ADDITIONAL_VOLUME_DIRECTORIES: 'v4-ref-assemblies'
DOTNET_VERSION: '2.2'
DEPLOY_NUGET_SOURCE: 'https://api.nuget.org/v3/index.json'
ASSEMBLY_SIGN_KEY:
secure: uv6ZmcDLBG+//mfWJ1eugijJPfTQ+olueMC/UcUxK8Lq0zEJqEV0z4iDR1c5wRIs2DmbjsU1QcCKGWXtF2HpIBhM+IhI0xgPycRcN1dhLwSHNJetZTJWAs2XH/VkSscSxtjLNzRf0NOztW/mfyRjiYGpVYPPC2gmituI9aGPKzhASGWCEvwjjO1b4pWBJ7aygm711BEk9yC541afA2u+gx12YzLXsbV/Rz3DSbvfcwc38vt1vHZUonpQY6b7npPTksymKHptnshj9s6oPLxKm/Yd9Jg61KSbfcScddJWb21lfKxyb4z8BsLTO8FdKzRUDm4ST3Lzhg8zYXmJ3IZPmN/lluyB2RMVKgo2yMw7DfyiM0CsvzysWaKZSXagp4WeNVbBQgrOPbEsBe3CdDo5vupoQAwF7LfcB2rCDnM+RinTY090O1sgN4r8gtjOheVecxk9O7uzGmP9ApL9lPBXfdsG+JBnU/T1Gok52hQ5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AzIi0Kr4ALrmfPzhQrSIb60WzvDhdb8N8wTTBkBfByD8wZvmHhp/0CNc4DANKVpytJcRjA==
CODECOV_PAGES_USER_EMAIL:
secure: sFI5KFdiAQM8HJHCF2uO517Kg+7rtEQ5yOWbnL/qOHBEJG73FOTguzovPJd6RuYg
init:
- sh: git config --global core.autocrlf false
- sh: appveyor UpdateBuild -Version "build-${APPVEYOR_REPO_COMMIT:0:8}-${APPVEYOR_BUILD_NUMBER}"
install:
- sh: 'git -C "${APPVEYOR_BUILD_FOLDER}" submodule update --init --recursive'
- sh: 'mkdir "${APPVEYOR_BUILD_FOLDER}/git"'
- sh: 'git -C "${APPVEYOR_BUILD_FOLDER}" ls-tree --name-only -z HEAD | xargs --null mv -t "${APPVEYOR_BUILD_FOLDER}/git"'
- sh: '"${APPVEYOR_BUILD_FOLDER}/git/${CI_FOLDER}/download-net40-ref-assemblies.sh" "${APPVEYOR_BUILD_FOLDER}/v4-ref-assemblies"'
before_build:
- sh: '"${APPVEYOR_BUILD_FOLDER}/git/${CI_FOLDER}/appveyor/sync_docker_image.sh" "microsoft/dotnet:${DOTNET_VERSION}-sdk-alpine" "${APPVEYOR_BUILD_FOLDER}/docker-images/dotnet-sdk.tar"'
build_script:
- sh: '"${APPVEYOR_BUILD_FOLDER}/git/${CI_FOLDER}/build.sh"'
- sh: 'sudo chown -R `id -u` "${APPVEYOR_BUILD_FOLDER}/${RELATIVE_CS_OUTPUT}" "${APPVEYOR_BUILD_FOLDER}/${RELATIVE_NUGET_PACKAGE_DIR}" "${APPVEYOR_BUILD_FOLDER}/${RELATIVE_REDIST_LISTS}"'
test_script:
- sh: '"${APPVEYOR_BUILD_FOLDER}/git/${CI_FOLDER}/test.sh" "${APPVEYOR_BUILD_FOLDER}/git/${CI_FOLDER}/appveyor/add_tests.sh"'
- sh: 'sudo chown -R `id -u` "${APPVEYOR_BUILD_FOLDER}/${RELATIVE_CS_OUTPUT}" "${APPVEYOR_BUILD_FOLDER}/${RELATIVE_NUGET_PACKAGE_DIR}"'
after_test:
- sh: '"${APPVEYOR_BUILD_FOLDER}/git/${CI_FOLDER}/package.sh" "${APPVEYOR_BUILD_FOLDER}/git/${CI_FOLDER}/appveyor/upload_packages.sh"'
- sh: 'sudo chown -R `id -u` "${APPVEYOR_BUILD_FOLDER}/${RELATIVE_CS_OUTPUT}" "${APPVEYOR_BUILD_FOLDER}/${RELATIVE_NUGET_PACKAGE_DIR}"'
deploy_script:
- sh: '${APPVEYOR_BUILD_FOLDER}/git/${CI_FOLDER}/deploy.sh'