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/osx | |
| 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/osx')
| -rw-r--r-- | scripts/azure-pipelines/osx/azure-pipelines.yml | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/scripts/azure-pipelines/osx/azure-pipelines.yml b/scripts/azure-pipelines/osx/azure-pipelines.yml index 3c9510bac..6e48238a7 100644 --- a/scripts/azure-pipelines/osx/azure-pipelines.yml +++ b/scripts/azure-pipelines/osx/azure-pipelines.yml @@ -10,6 +10,12 @@ jobs: workspace:
clean: resources
timeoutInMinutes: 1440 # 1 day
+ variables:
+ - name: WORKING_ROOT
+ value: /Users/vagrant/Data
+ - name: VCPKG_DOWNLOADS
+ value: /Users/vagrant/Data/downloads
+
steps:
- bash: |
df -h
@@ -22,28 +28,32 @@ jobs: brew list libtool || brew install libtool
brew list bison || brew install bison
brew list gfortran || brew cask install gfortran
+ brew list mono || brew install mono
brew list yasm || brew install yasm
displayName: 'Install brew dependencies'
- bash: |
- sudo mkdir /Users/vagrant/Data/downloads || 0
- sudo chmod 777 /Users/vagrant/Data/downloads || 0
+ sudo mkdir ${{ variables.VCPKG_DOWNLOADS }} || 0
+ sudo chmod 777 ${{ variables.VCPKG_DOWNLOADS }} || 0
exit 0
- displayName: 'Create /Users/vagrant/Data/downloads'
+ displayName: 'Create ${{ variables.VCPKG_DOWNLOADS }}'
- task: Bash@3
displayName: 'Build vcpkg'
inputs:
filePath: bootstrap-vcpkg.sh
arguments: '-buildTests'
- env:
- VCPKG_DOWNLOADS: '/Users/vagrant/Data/downloads'
- bash: toolsrc/build.rel/vcpkg-test
displayName: 'Run vcpkg tests'
- task: PowerShell@2
+ displayName: 'Run vcpkg end-to-end tests'
+ inputs:
+ filePath: 'scripts/azure-pipelines/end-to-end-tests.ps1'
+ arguments: '-Triplet x64-osx -WorkingRoot ${{ variables.WORKING_ROOT }}'
+ - task: PowerShell@2
displayName: '*** Test Modified Ports and Prepare Test Logs ***'
inputs:
failOnStderr: true
filePath: 'scripts/azure-pipelines/test-modified-ports.ps1'
- arguments: '-Triplet x64-osx -BuildReason $(Build.Reason) -ArchivesRoot /Users/vagrant/Data/archives -WorkingRoot /Users/vagrant/Data -ArtifactsDirectory $(System.ArtifactsDirectory)'
+ arguments: '-Triplet x64-osx -BuildReason $(Build.Reason) -ArchivesRoot ${{ variables.WORKING_ROOT }}/archives -WorkingRoot ${{ variables.WORKING_ROOT }} -ArtifactsDirectory $(System.ArtifactsDirectory)'
- bash: |
df -h
displayName: 'Report on Disk Space After Build'
|
