-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathappveyor.yml
60 lines (52 loc) · 6.98 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
version: '1.0.{build}-{branch}'
image: Ubuntu1804
services:
- docker
cache:
- 'nuget-package-dir'
- 'docker-images'
- 'v4-ref-assemblies'
- 'dotnet-tools'
skip_commits:
files:
- '**/*.md'
environment:
RELATIVE_NUGET_PACKAGE_DIR: 'nuget-package-dir/'
RELATIVE_CS_OUTPUT: 'output/'
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'
ASSEMBLY_SIGN_KEY:
secure: uv6ZmcDLBG+//mfWJ1euglELHr3yWxE/AFFukTbLL5H7A1vlZj+tqmac+d9MtcUnWLwQ0S614RmDvpzPcJbmPry1+LYb95K5m8lyv1LirnTjyvoBkaPEu8llT8vf0H2id0x53nlPs5GBCwKrqawphJNJRLVvw4bY3A6nLncRtwB+594tGp5if6g7OFhKBvUnZOzA/302ANQ16VDNyCy+eFSyRRinWlXxjKZKqvFdXD01fb+A9e3UaSNmqtVxqH+MU8V/GIBwRUWBp7oIW+ou4bqUygvW4OFBQTmfsptReFSM1e19NdTwnc8KRFrgT2dM4FlgVikjfHA9jjsAj2wMxIZ75LJ4miYKlTPS+mXQkRflUdLnLPPnGQpbtPz2I1RVgZR63nMq7D8k+OrFWPvFJ9u/31IipjftgrjSZS1oC3NJSasH+L49wj4/4GBuzOcb8/iJwH38e5nEVGjlaIg/J4YmZOF/KKJFY5giklM/Ap4YjMThS8C318lwqs3E0J4rlhlgOFhoQI4OSqCfzfVkSE24VxhUetCupl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eLSMA1v+cESuWE4EUT5cB8j8LIqXQz1977tU08r2CIaMheuFcOMmGZO4If+IrTZ+OOtZSsPoNudbiyCPydEEIgl5OVog0NHPkvPj090YZWGAhafdVAcuka3CBL+WRxKEAoA+085EuLNlrxnDjlUSSZ5pNU1Ss8L0Qv4dpZkvSTovi5o5tSplpq5oKMNyMDKVX7ksBZhl6abBOFXyT5NFXBtMGDbSfD+MjS5CHgZMXGhfk8VTwRTN4QM5/tYSy373hiVNyedjMGYuQwvJQ9Jdtg5gpSxnDcfK52Dnl4Vgr4R0lj83T4tlzSpW3O4uLwRJ5cmZ8b77HuguUCcWOHRI=
DEPLOY_NUGET_API_KEY:
secure: BWuVSntv5K+zablayvFPdV/vjzplCYFQ8dbh58Pxmk9h42AKBiD79CC1tGfu6wgZ
CODECOV_SSH_KEY:
secure: 7FFY8hE4/u7joMUnEL8t36ujX2KG6veMNTDlIhFeSFW4F68GF7YkbVvWJ2iMiN1zxZQVDbZ+9hHDy3ALKLYGRVuHE7po+A63cFmHaUhbzTMVKu4VQGTh3457/quYuXbcVGnXZTbwFUZYtW4wEQb8VqDG40Yw642BqsU5c8ygIUdoVukc6JIg41nQcfLqdExbOMQ76Kx/NXRx1MsBRHd0dehFKzqYJ8PN0vRrdhPzPy1InrZVdwW+wUbcAHlPY3mOPK8o6GsqCRErWyukO1uD3hcGFEnNxOJbtZWhOk2qtt6rblN80RmYEtQFFzGw4uvO98qagJFJg/6GEwSlut5AiUZ2Tir8SrxKmVin345A4xN9rPHMckz3Z/T+/q+4a4DqiidheUYJWgc53V8UAzIi0Kr4ALrmfPzhQrSIb60WzvDhdb8N8wTTBkBfByD8wZvmHhp/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}"'
- sh: 'sudo chown -R `id -u` "${APPVEYOR_BUILD_FOLDER}/${RELATIVE_NUGET_PACKAGE_DIR}"'
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}"'
- sh: 'sudo chown -R `id -u` "${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}"'
- sh: 'sudo chown -R `id -u` "${APPVEYOR_BUILD_FOLDER}/${RELATIVE_NUGET_PACKAGE_DIR}"'
deploy_script:
- sh: '${APPVEYOR_BUILD_FOLDER}/git/${CI_FOLDER}/deploy.sh'