mirror of
https://github.com/Z3Prover/z3
synced 2025-04-13 20:38:43 +00:00
Update azure-pipelines.yml for Azure Pipelines
This commit is contained in:
parent
1d2eac366a
commit
5764ff243d
|
@ -6,33 +6,40 @@ jobs:
|
||||||
pool:
|
pool:
|
||||||
vmImage: "Ubuntu-16.04"
|
vmImage: "Ubuntu-16.04"
|
||||||
steps:
|
steps:
|
||||||
- script: python scripts/mk_make.py -d
|
- script: python scripts/mk_make.py -d --java --dotnet
|
||||||
- script: |
|
- script: |
|
||||||
cd build
|
cd build
|
||||||
make
|
make
|
||||||
|
make examples
|
||||||
|
ls
|
||||||
|
./cpp_example
|
||||||
|
./c_example
|
||||||
|
make test-z3
|
||||||
|
./test-z3 -a
|
||||||
|
cd ..
|
||||||
- script: git clone https://github.com/z3prover/z3test z3test
|
- script: git clone https://github.com/z3prover/z3test z3test
|
||||||
- script: python z3test/scripts/test_benchmarks.py build/z3 z3test/regressions/smt2
|
- script: python z3test/scripts/test_benchmarks.py build/z3 z3test/regressions/smt2
|
||||||
- script: |
|
|
||||||
cd build
|
|
||||||
make cpp_example
|
|
||||||
./cpp_example
|
|
||||||
make java_example
|
|
||||||
make dotnet_example
|
|
||||||
make test-z3
|
|
||||||
test-z3 -a
|
|
||||||
|
|
||||||
|
|
||||||
|
# TBD: specify a matrix of options that are used in the cmake line.
|
||||||
|
|
||||||
- job: "LinuxCMake"
|
- job: "LinuxCMake"
|
||||||
displayName: "Ubuntu build - cmake"
|
displayName: "Ubuntu build - cmake"
|
||||||
pool:
|
pool:
|
||||||
vmImage: "Ubuntu-16.04"
|
vmImage: "Ubuntu-16.04"
|
||||||
steps:
|
steps:
|
||||||
- task: DotNetCoreInstaller@0
|
- script: |
|
||||||
displayName: 'Use .NET Core sdk 2.1'
|
mkdir build
|
||||||
inputs:
|
cd build
|
||||||
version: 2.1.300
|
CC=clang CXX=clang++ cmake -DBUILD_DOTNET_BINDINGS=True -DBUILD_JAVA_BINDINGS=True -G "Ninja" ../
|
||||||
# TBD add steps for building and testing
|
ninja
|
||||||
# debug/release/asan/ubsan/
|
ninja test-z3
|
||||||
|
ninja examples
|
||||||
|
./test-z3 -a
|
||||||
|
cd ..
|
||||||
|
- script: git clone https://github.com/z3prover/z3test z3test
|
||||||
|
- script: python z3test/scripts/test_benchmarks.py build/z3 z3test/regressions/smt2
|
||||||
|
|
||||||
|
|
||||||
- job: "Windows2017"
|
- job: "Windows2017"
|
||||||
displayName: "Windows 2017 build"
|
displayName: "Windows 2017 build"
|
||||||
|
@ -41,8 +48,6 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- script: scripts\vsts-vs2017.cmd x64
|
- script: scripts\vsts-vs2017.cmd x64
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# TBD add job for Mac build/test
|
# TBD add job for Mac build/test
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue