]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/scripts/azure-pipelines/osx/azure-pipelines.yml
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / scripts / azure-pipelines / osx / azure-pipelines.yml
diff --git a/ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/scripts/azure-pipelines/osx/azure-pipelines.yml b/ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/scripts/azure-pipelines/osx/azure-pipelines.yml
new file mode 100644 (file)
index 0000000..6f327c1
--- /dev/null
@@ -0,0 +1,59 @@
+# Copyright (c) Microsoft Corporation.\r
+# SPDX-License-Identifier: MIT\r
+#\r
+\r
+jobs:\r
+- job: x64_osx\r
+  pool:\r
+    name: ${{ parameters.poolName }}\r
+  workspace:\r
+    clean: resources\r
+  timeoutInMinutes: 1440 # 1 day\r
+  variables:\r
+  - name: WORKING_ROOT\r
+    value: /Users/vagrant/Data\r
+  - name: VCPKG_DOWNLOADS\r
+    value: /Users/vagrant/Data/downloads\r
+  - group: osx-2021-04-16\r
+  - name: BINARY_SOURCE_STUB\r
+    value: "x-azblob,$(azblob-root-url),$(azblob-test-sas)"\r
+\r
+  steps:\r
+  - bash: df -h\r
+    displayName: 'Report on Disk Space'\r
+  - bash: |\r
+      sudo mkdir ${{ variables.VCPKG_DOWNLOADS }} || 0\r
+      sudo chmod 777 ${{ variables.VCPKG_DOWNLOADS }} || 0\r
+      exit 0\r
+    displayName: 'Create ${{ variables.VCPKG_DOWNLOADS }}'\r
+  - task: Bash@3\r
+    displayName: 'Build vcpkg'\r
+    inputs:\r
+      filePath: bootstrap-vcpkg.sh\r
+  - task: PowerShell@2\r
+    displayName: '*** Test Modified Ports and Prepare Test Logs ***'\r
+    inputs:\r
+      failOnStderr: true\r
+      filePath: 'scripts/azure-pipelines/test-modified-ports.ps1'\r
+      arguments: '-Triplet x64-osx -BuildReason $(Build.Reason) -BinarySourceStub "$(BINARY_SOURCE_STUB)" -WorkingRoot ${{ variables.WORKING_ROOT }} -ArtifactStagingDirectory $(Build.ArtifactStagingDirectory)'\r
+      pwsh: true\r
+  - bash: |\r
+      df -h\r
+    displayName: 'Report on Disk Space After Build'\r
+    condition: always()\r
+  - task: PublishBuildArtifacts@1\r
+    displayName: 'Publish Artifact: failure logs for x64-osx'\r
+    inputs:\r
+      PathtoPublish: '$(Build.ArtifactStagingDirectory)/failure-logs'\r
+      ArtifactName: 'failure logs for x64-osx'\r
+    condition: always()\r
+  - bash: |\r
+      python3 scripts/file_script.py /Users/vagrant/Data/installed/vcpkg/info/\r
+    displayName: 'Build a file list for all packages'\r
+    condition: always()\r
+  - task: PublishBuildArtifacts@1\r
+    displayName: 'Publish Artifact: file lists for x64-osx'\r
+    condition: always()\r
+    inputs:\r
+      PathtoPublish: scripts/list_files\r
+      ArtifactName: 'file lists for x64-osx'\r