-
Notifications
You must be signed in to change notification settings - Fork 3
/
appveyor.yml
63 lines (53 loc) · 7.04 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
59
60
61
62
63
version: '1.0.{build}-{branch}'
image: Ubuntu1804
services:
- docker
cache:
- 'nuget-package-dir'
- 'docker-images'
- 'v4-ref-assemblies'
- 'dotnet-tools'
- 'redistlists'
skip_commits:
files:
- '**/*.md'
environment:
RELATIVE_NUGET_PACKAGE_DIR: 'nuget-package-dir/'
RELATIVE_CS_OUTPUT: 'output/'
RELATIVE_REDIST_LISTS: 'redistlists/'
CI_FOLDER: 'CIPipeline'
DEPLOYABLE_BRANCH: 'HEAD'
DOTNET_VERSION: '2.2'
DEPLOY_NUGET_SOURCE: 'https://api.nuget.org/v3/index.json'
ADDITIONAL_VOLUME_DIRECTORIES: 'v4-ref-assemblies'
TEST_SCRIPT_WITHIN_CONTAINER: 'Build/test.sh'
BUILD_SCRIPT_WITHIN_CONTAINER: 'Build/build.sh'
ASSEMBLY_SIGN_KEY:
secure: uv6ZmcDLBG+//mfWJ1eugivE9k/q2hAss2p4cqD9u9l1br9SziHqcTAutv5+lt0TrX4cxARg6yYCPvSC3rsqstBlqAyWwpAXZ4vDW2ilHPF3m7VApB46RWNtX4jr1KbPSKWpOf0T+rdFgNinKOe+hc4+c9hk8jXHTUXHt3yfF2+MmBjgi+2Rt9LvSaOZDW17TWDlVQHFzYxFGWBc4EN9egSc3aX4j38GYayLQjFDLD5xraOl4PZqyW4MB86JeoWlGm6zmJXPDPhPtT/QAaD2W53dl5PO5T4qgOCEmr0ChnfP1L/z+drpMcFKFmPspThAklWpi5SaHSziNuzq4Ra/BV6HjIbGCLQ1742QBFAK+KSP/K7ulodwUYyOBQxj2uNlapNs2rBFRq8+o5CpbYmV/kOwpk6mTgL3Nzk0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
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'