diff options
| author | ras0219 <533828+ras0219@users.noreply.github.com> | 2020-08-10 10:22:51 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-10 10:22:51 -0700 |
| commit | 481738beaeb77bca19ff7fa01b4c02be7fc9deb2 (patch) | |
| tree | 00c985177f75b190abfc58f12600f293d10b5d25 /scripts/azure-pipelines/linux | |
| parent | ed474ea9344a39d917e2b0719192502650cbd536 (diff) | |
| download | vcpkg-481738beaeb77bca19ff7fa01b4c02be7fc9deb2.tar.gz vcpkg-481738beaeb77bca19ff7fa01b4c02be7fc9deb2.zip | |
[vcpkg] Add `vcpkg export` to E2E tests. Enable E2E tests on all platforms. (#12198)
* [vcpkg] Add `vcpkg export` to E2E tests. Enable E2E tests on MacOS.
* [vcpkg] Fix export --raw --output-dir=/path/ by changing directory to new export root
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Diffstat (limited to 'scripts/azure-pipelines/linux')
| -rw-r--r-- | scripts/azure-pipelines/linux/azure-pipelines.yml | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/scripts/azure-pipelines/linux/azure-pipelines.yml b/scripts/azure-pipelines/linux/azure-pipelines.yml index 4d4eada62..969348980 100644 --- a/scripts/azure-pipelines/linux/azure-pipelines.yml +++ b/scripts/azure-pipelines/linux/azure-pipelines.yml @@ -9,6 +9,12 @@ jobs: workspace:
clean: resources
timeoutInMinutes: 1440 # 1 day
+ variables:
+ - name: WORKING_ROOT
+ value: /mnt/vcpkg-ci
+ - name: VCPKG_DOWNLOADS
+ value: /mnt/vcpkg-ci/downloads
+
steps:
- bash: df -h
displayName: 'Report on Disk Space'
@@ -19,17 +25,15 @@ jobs: displayName: 'Create /home/agent'
# Note: /mnt is the Azure machines' temporary disk.
- bash: |
- sudo mkdir /mnt/vcpkg-ci -m=777
- sudo mkdir /mnt/vcpkg-ci/downloads -m=777
+ sudo mkdir ${{ variables.WORKING_ROOT }} -m=777
+ sudo mkdir ${{ variables.VCPKG_DOWNLOADS }} -m=777
exit 0
- displayName: 'Create /mnt/vcpkg-ci/downloads'
+ displayName: 'Create ${{ variables.VCPKG_DOWNLOADS }}'
- task: Bash@3
displayName: 'Build vcpkg'
inputs:
filePath: bootstrap-vcpkg.sh
arguments: "-buildTests"
- env:
- VCPKG_DOWNLOADS: '/mnt/vcpkg-ci/downloads'
- bash: toolsrc/build.rel/vcpkg-test
displayName: 'Run vcpkg tests'
- task: PowerShell@2
@@ -37,7 +41,7 @@ jobs: inputs:
failOnStderr: true
filePath: 'scripts/azure-pipelines/test-modified-ports.ps1'
- arguments: '-Triplet x64-linux -BuildReason $(Build.Reason) -ArchivesRoot /archives -WorkingRoot /mnt/vcpkg-ci -ArtifactsDirectory $(System.ArtifactsDirectory)'
+ arguments: '-Triplet x64-linux -BuildReason $(Build.Reason) -ArchivesRoot /archives -WorkingRoot ${{ variables.WORKING_ROOT }} -ArtifactsDirectory $(System.ArtifactsDirectory)'
- bash: |
df -h
displayName: 'Report on Disk Space After Build'
|
