Add some logging to the CI build on Windows.
Something is still not working, hopefully this will let me figure out
what...
@@ -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'
