From 0a9a3068843dcddcf8dfabe89d6bd3b787d56265 Mon Sep 17 00:00:00 2001 From: David Chisnall Date: Thu, 21 Mar 2019 18:16:51 +0000 Subject: [PATCH] Add some logging to the CI build on Windows. Something is still not working, hopefully this will let me figure out what... --- azure-pipelines.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index fb62074..2567a3e 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -53,7 +53,9 @@ jobs: mkdir build cd build "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvars64.bat" x64 + echo Running cmake... cmake .. -G Ninja -DTESTS=ON -DCMAKE_C_COMPILER="c:/Program Files/LLVM/bin/clang-cl.exe" -DCMAKE_CXX_COMPILER="c:/Program Files/LLVM/bin/clang-cl.exe" + echo CMake completed. failOnStderr: true displayName: 'CMake' @@ -62,15 +64,22 @@ jobs: cd build "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvars64.bat" x64 set CCC_OVERRIDE_OPTIONS=x-TC x-TP x/TC x/TP + echo Running ninja... ninja + echo Ninja completed. failOnStderr: true displayName: 'Compile' - script: | cd build + dir + echo Copying objc.dll into Test directory... copy /y objc.dll Test + echo Running CTest... ctest -j 4 --output-on-failure + echo CTest completed. + failOnStderr: true displayName: 'Test'