From c34f303aa03bcecfec71a5e1dc1e1fc94e133738 Mon Sep 17 00:00:00 2001 From: daan Date: Sat, 5 Sep 2020 22:20:46 -0700 Subject: [PATCH] add vs2017 pipeline --- azure-pipelines.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 59c7d817..5a9f6dfb 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -8,6 +8,39 @@ trigger: - dev jobs: +- job: + displayName: Windows-2017 + pool: + vmImage: + windows-2017 + strategy: + matrix: + Debug: + BuildType: debug + cmakeExtraArgs: -DCMAKE_BUILD_TYPE=Debug -DMI_DEBUG_FULL=ON + MSBuildConfiguration: Debug + Release: + BuildType: release + cmakeExtraArgs: -DCMAKE_BUILD_TYPE=Release + MSBuildConfiguration: Release + Secure: + BuildType: secure + cmakeExtraArgs: -DCMAKE_BUILD_TYPE=Release -DMI_SECURE=ON + MSBuildConfiguration: Release + steps: + - task: CMake@1 + inputs: + workingDirectory: $(BuildType) + cmakeArgs: .. $(cmakeExtraArgs) + - task: MSBuild@1 + inputs: + solution: $(BuildType)/libmimalloc.sln + configuration: '$(MSBuildConfiguration)' + - script: | + cd $(BuildType) + ctest --verbose --timeout 120 + displayName: CTest + - job: displayName: Windows pool: