From ae98ca07e786fa53801a6e4229a0fb79ce6226f7 Mon Sep 17 00:00:00 2001 From: Raffaello Bertini Date: Sun, 10 May 2020 17:06:17 +0100 Subject: [PATCH] [azure-pipelines] tidy pipelines --- azure-pipelines/linux.yml | 14 +++----------- azure-pipelines/macos.yml | 14 +++----------- azure-pipelines/windows.yml | 6 +++--- 3 files changed, 9 insertions(+), 25 deletions(-) diff --git a/azure-pipelines/linux.yml b/azure-pipelines/linux.yml index 419a9cea..f8e37d2b 100644 --- a/azure-pipelines/linux.yml +++ b/azure-pipelines/linux.yml @@ -33,25 +33,17 @@ stages: - stage: Dep jobs: - job: vcpkg - strategy: - matrix: - Linux: - imageName: ${{ variables.linux_image }} - TRIPLET: x64-linux pool: - vmImage: $(imageName) + vmImage: ${{ variables.linux_image }} steps: - template: templates/dep-vcpkg-steps.yml parameters: vcpkg_key_cache: $(CACHE_VCPKG_KEY) - triplet: $(TRIPLET) - arch: $(ARCH) + triplet: x64-linux - stage: CI jobs: - job: Linux - variables: - TRIPLET: x64-linux strategy: matrix: GCC Debug: @@ -64,7 +56,7 @@ stages: - template: 'templates/ci-steps.yml' parameters: vcpkg_key_cache: $(CACHE_VCPKG_KEY) - triplet: $(TRIPLET) + triplet: x64-linux build_type: $(CONFIGURATION) test: false install: false diff --git a/azure-pipelines/macos.yml b/azure-pipelines/macos.yml index e46c33c9..e8707b2d 100644 --- a/azure-pipelines/macos.yml +++ b/azure-pipelines/macos.yml @@ -32,25 +32,17 @@ stages: - stage: Dep jobs: - job: vcpkg - strategy: - matrix: - MacOS: - imageName: ${{ variables.mac_image }} - TRIPLET: x64-osx pool: - vmImage: $(imageName) + vmImage: ${{ variables.mac_image }} steps: - template: templates/dep-vcpkg-steps.yml parameters: vcpkg_key_cache: $(CACHE_VCPKG_KEY) - triplet: $(TRIPLET) - arch: $(ARCH) + triplet: x64-osx - stage: CI jobs: - job: macOS - variables: - TRIPLET: x64-osx strategy: matrix: Debug: @@ -63,6 +55,6 @@ stages: - template: 'templates/ci-steps.yml' parameters: vcpkg_key_cache: $(CACHE_VCPKG_KEY) - triplet: $(TRIPLET) + triplet: x64-osx build_type: $(CONFIGURATION) install: false diff --git a/azure-pipelines/windows.yml b/azure-pipelines/windows.yml index be79ec73..6c675144 100644 --- a/azure-pipelines/windows.yml +++ b/azure-pipelines/windows.yml @@ -36,15 +36,13 @@ stages: strategy: matrix: Win 32 bits: - imageName: ${{ variables.windows_image }} TRIPLET: x86-windows ARCH: 32 Win 64 bits: - imageName: ${{ variables.windows_image }} TRIPLET: x64-windows ARCH: 64 pool: - vmImage: $(imageName) + vmImage: ${{ variables.windows_image }} steps: - template: templates/dep-vcpkg-steps.yml parameters: @@ -57,6 +55,8 @@ stages: - job: Windows variables: #SDL2_STATIC: OFF + # TODO remove the line below + # BODY [..] when done the build-matrix configuration BUILD_SHARED_LIBS: ON strategy: matrix: