From 451b085653e8914003256a58dbbd45c2d8283938 Mon Sep 17 00:00:00 2001 From: lganzzzo Date: Thu, 7 Feb 2019 08:23:40 +0200 Subject: [PATCH] modified azure-pipelines.yml --- azure-pipelines.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index cf517a0b..2546ff26 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -12,15 +12,19 @@ jobs: workspace: clean: all steps: + - script: | + mkdir build - task: CMake@1 - script: | - cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF -DOATPP_INSTALL=OFF -DOATPP_BUILD_TESTS=ON + cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF -DOATPP_INSTALL=OFF -DOATPP_BUILD_TESTS=ON .. make displayName: 'CMake' + workingDirectory: build - script: | make test ARGS="-V" displayName: 'Test' + workingDirectory: build - job: macOS displayName: 'Build - macOS-10.13' @@ -30,12 +34,16 @@ jobs: workspace: clean: all steps: + - script: | + mkdir build - task: CMake@1 - script: | - cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF -DOATPP_INSTALL=OFF -DOATPP_BUILD_TESTS=ON + cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF -DOATPP_INSTALL=OFF -DOATPP_BUILD_TESTS=ON .. make displayName: 'CMake' + workingDirectory: build - script: | make test ARGS="-V" displayName: 'Test' + workingDirectory: build