commit 2c14b0acb41eb7fe5bd09a767f3fe1e6aa834ef3 parent 84d89fe613684856ab417b9d0ce2488242c1a497 Author: [email protected] <[email protected]> Date: Tue, 13 Nov 2018 21:47:56 +0300 set -e Diffstat:
M | azure-pipelines.yml | | | 64 | +++++++++++++++++++++++++++++++++------------------------------- |
1 file changed, 33 insertions(+), 31 deletions(-)
diff --git a/azure-pipelines.yml b/azure-pipelines.yml @@ -4,26 +4,28 @@ jobs: vmImage: 'ubuntu-16.04' steps: - bash: | - sudo apt-get install -y ninja-build libmpfr-dev - mkdir build - cd build - cmake -GNinja -DCMAKE_BUILD_TYPE=Release .. - ninja - cd tests - ctest -V + set -e + sudo apt-get install -y ninja-build libmpfr-dev + mkdir build + cd build + cmake -GNinja -DCMAKE_BUILD_TYPE=Release .. + ninja + cd tests + ctest -V - job: Linux_ARM pool: vmImage: 'ubuntu-16.04' steps: - bash: | - sudo apt-get install -y ninja-build g++-arm-linux-gnueabihf qemu - mkdir build - cd build - cmake -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=../cmake/arm.cmake -DARCH_FLAGS=-DLIBC_WORKAROUND_GETS=1 .. - ninja - cd tests - ctest -V + set -e + sudo apt-get install -y ninja-build g++-arm-linux-gnueabihf qemu + mkdir build + cd build + cmake -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=../cmake/arm.cmake -DARCH_FLAGS=-DLIBC_WORKAROUND_GETS=1 .. + ninja + cd tests + ctest -V - job: macOS strategy: @@ -42,26 +44,26 @@ jobs: vmImage: 'macOS-10.13' steps: - bash: | - /bin/bash -c "sudo xcode-select -s /Applications/Xcode_$(XCODE_VER).app/Contents/Developer" - brew install ninja - mkdir build - cd build - cmake -GNinja -DCMAKE_BUILD_TYPE=Release .. - ninja - cd tests - ctest -V + set -e + /bin/bash -c "sudo xcode-select -s /Applications/Xcode_$(XCODE_VER).app/Contents/Developer" + brew install ninja + mkdir build + cd build + cmake -GNinja -DCMAKE_BUILD_TYPE=Release .. + ninja + cd tests + ctest -V - job: Windows_MinGW pool: vmImage: 'vs2017-win2016' steps: - bash: | - choco install llvm ninja - mkdir build - cd build - cmake -GNinja -DCMAKE_CXX_COMPILER="C:/Program Files/LLVM/bin/clang++.exe" -DCMAKE_BUILD_TYPE=Release .. - ninja - cd tests - ctest -V - - + set -e + choco install llvm ninja + mkdir build + cd build + cmake -GNinja -DCMAKE_CXX_COMPILER="C:/Program Files/LLVM/bin/clang++.exe" -DCMAKE_BUILD_TYPE=Release .. + ninja + cd tests + ctest -V