From df8f9fc59c0fe322e8cd07cf9384fac1898c86e0 Mon Sep 17 00:00:00 2001 From: daan Date: Wed, 10 Jul 2019 22:13:34 -0700 Subject: [PATCH] Add test to build pipeline --- azure-pipelines.yml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index a73ac1a0..9542e869 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -23,19 +23,31 @@ jobs: solution: build/libmimalloc.sln - upload: $(Build.SourcesDirectory)/build artifact: windows + - job: displayName: Linux pool: vmImage: ubuntu-16.04 + strategy: + matrix: + Debug: + CC: gcc + BuildType: Debug + Release: + CC: gcc + BuildType: Release + steps: - task: CMake@1 inputs: - workingDirectory: 'build' + workingDirectory: $(BuildType) cmakeArgs: .. - - script: make -j$(nproc) -C build - - upload: $(Build.SourcesDirectory)/build + - script: make -j$(nproc) -C $(BuildType) + - script: ctest -C $(BuildType) + - upload: $(Build.SourcesDirectory)/$(BuildType) artifact: ubuntu + - job: displayName: macOS pool: