Skip to content

Commit

Permalink
Make live tests to build Storage samples with Curl transport (#1997)
Browse files Browse the repository at this point in the history
* Make live tests to build Storage samples with Curl transport

Co-authored-by: Anton Kolesnyk <[email protected]>
  • Loading branch information
antkmsft and antkmsft authored Nov 9, 2021
1 parent bfca1f1 commit 3834fbb
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 30 deletions.
62 changes: 32 additions & 30 deletions eng/pipelines/templates/jobs/archetype-sdk-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,36 +33,38 @@ jobs:
build.args: ' -DTRANSPORT_PAHO=ON'
test_type: 'iot'
os: 'macos'
# Disable live testing for these matrix entries until we have something to
# test here.
# Linux_x64_with_samples:
# Pool: azsdk-pool-mms-ubuntu-1804-general
# OSVmImage: MMSUbuntu18.04
# vcpkg.deps: 'curl[ssl]'
# VCPKG_DEFAULT_TRIPLET: 'x64-linux'
# build.args: ' -DTRANSPO.RT_CURL=ON -DAZ_PLATFORM_IMPL=POSIX'
# Win_x86_with_sampldes:
# Pool: azsdk-pool-mms-win-2019-general
# OSVmImage: MMS2019
# vcpkg.deps: 'curl[winssl]'
# VCPKG_DEFAULT_TRIPLET: 'x86-windows-static'
# CMAKE_GENERATOR: 'Visual Studio 16 2019'
# CMAKE_GENERATOR_PLATFORM: Win32
# build.args: ' -DTRANSPORT_CURL=ON -DAZ_PLATFORM_IMPL=WIN32'
# Win_x64_with_samples:
# Pool: azsdk-pool-mms-win-2019-general
# OSVmImage: MMS2019
# vcpkg.deps: 'curl[winssl]'
# VCPKG_DEFAULT_TRIPLET: 'x64-windows-static'
# CMAKE_GENERATOR: 'Visual Studio 16 2019'
# CMAKE_GENERATOR_PLATFORM: x64
# build.args: ' -DTRANSPORT_CURL=ON -DAZ_PLATFORM_IMPL=WIN32'
# MacOS_x64_with_samples:
# Pool: Azure Pipelines
# OSVmImage: 'macOS-10.15'
# vcpkg.deps: 'curl[ssl]'
# VCPKG_DEFAULT_TRIPLET: 'x64-osx'
# build.args: ' -DTRANSPORT_CURL=ON -DAZ_PLATFORM_IMPL=POSIX'
Linux_x64_with_samples:
Pool: azsdk-pool-mms-ubuntu-1804-general
OSVmImage: MMSUbuntu18.04
vcpkg.deps: 'curl[ssl]'
VCPKG_DEFAULT_TRIPLET: 'x64-linux'
build.args: ' -DTRANSPORT_CURL=ON -DAZ_PLATFORM_IMPL=POSIX'
os: 'linux'
Win_x86_with_samples:
Pool: azsdk-pool-mms-win-2019-general
OSVmImage: MMS2019
vcpkg.deps: 'curl[winssl]'
VCPKG_DEFAULT_TRIPLET: 'x86-windows-static'
CMAKE_GENERATOR: 'Visual Studio 16 2019'
CMAKE_GENERATOR_PLATFORM: Win32
build.args: ' -DTRANSPORT_CURL=ON -DAZ_PLATFORM_IMPL=WIN32'
os: 'win'
Win_x64_with_samples:
Pool: azsdk-pool-mms-win-2019-general
OSVmImage: MMS2019
vcpkg.deps: 'curl[winssl]'
VCPKG_DEFAULT_TRIPLET: 'x64-windows-static'
CMAKE_GENERATOR: 'Visual Studio 16 2019'
CMAKE_GENERATOR_PLATFORM: x64
build.args: ' -DTRANSPORT_CURL=ON -DAZ_PLATFORM_IMPL=WIN32'
os: 'win'
MacOS_x64_with_samples:
Pool: Azure Pipelines
OSVmImage: 'macOS-10.15'
vcpkg.deps: 'curl[ssl]'
VCPKG_DEFAULT_TRIPLET: 'x64-osx'
build.args: ' -DTRANSPORT_CURL=ON -DAZ_PLATFORM_IMPL=POSIX'
os: 'macos'
pool:
name: $(Pool)
vmImage: $(OSVmImage)
Expand Down
1 change: 1 addition & 0 deletions eng/pipelines/templates/stages/archetype-sdk-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ stages:
- Name: Storage Blobs
NonWindowsPath: ./build/sdk/samples/storage/blobs/blobs_client_sample
WindowsPath: build\sdk\samples\storage\blobs\debug\blobs_client_sample.exe
RunCondition: contains(variables['build.args'], '-DTRANSPORT_CURL=ON')

- ${{ if and(eq(variables['Build.Reason'], 'Manual'), eq(variables['System.TeamProject'], 'internal'), not(endsWith(variables['Build.DefinitionName'], ' - tests'))) }}:
- template: archetype-c-release.yml
Expand Down

0 comments on commit 3834fbb

Please sign in to comment.