Skip to content

Commit

Permalink
Also updating appveyor.yml file.
Browse files Browse the repository at this point in the history
  • Loading branch information
stazz committed Mar 15, 2019
1 parent 3d234f6 commit 1d8da5a
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ cache:
- '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'
Expand Down Expand Up @@ -42,18 +44,15 @@ before_build:

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}"'
- 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}"'
- sh: 'sudo chown -R `id -u` "${APPVEYOR_BUILD_FOLDER}/${RELATIVE_NUGET_PACKAGE_DIR}"'
- 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}"'
- sh: 'sudo chown -R `id -u` "${APPVEYOR_BUILD_FOLDER}/${RELATIVE_NUGET_PACKAGE_DIR}"'
- 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'

0 comments on commit 1d8da5a

Please sign in to comment.