From feb77ac6c65015537ed84ea11a82c600329d3823 Mon Sep 17 00:00:00 2001 From: David Chisnall Date: Mon, 25 Feb 2019 12:55:02 +0000 Subject: [PATCH] Split compile and test CI phases. --- azure-pipelines.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index ec52c90..8573b95 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -36,11 +36,17 @@ phases: - script: | ninja + + workingDirectory: build + failOnStderr: true + displayName: 'Compile' + + - script: | ctest -j 4 --output-on-failure workingDirectory: build failOnStderr: true - displayName: 'Compile & Test' + displayName: 'Test' - script: | sudo cp libsnmallocshim.so /usr/local/lib/ @@ -147,11 +153,17 @@ phases: - script: | make -j 4 + + workingDirectory: build + failOnStderr: true + displayName: 'Compile' + + - script: | ctest -j 4 --output-on-failure workingDirectory: build failOnStderr: true - displayName: 'Compile & Test' + displayName: 'Test' - phase: Format queue: