3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-07 09:55:19 +00:00

Add MSVC ARM64 job to Azure Pipelines

This commit is contained in:
Michał Janiszewski 2019-10-24 22:04:21 +02:00 committed by Nikolaj Bjorner
parent 3feb1479c9
commit 9ae1a6f061
2 changed files with 15 additions and 2 deletions

View file

@ -90,6 +90,13 @@ jobs:
steps: steps:
- script: scripts\vsts-vs2017.cmd x64 - script: scripts\vsts-vs2017.cmd x64
- job: "Windows2017ARM64"
displayName: "Windows 2017 ARM64 build"
pool:
vmImage: "vs2017-win2016"
steps:
- script: scripts\vsts-vs2017.cmd amd64_arm64
- job: "MacOS" - job: "MacOS"
displayName: "MacOS build" displayName: "MacOS build"
pool: pool:

View file

@ -1,4 +1,4 @@
rem Supply argument x64 or x86 rem Supply argument x64, x86 or amd64_arm64
echo "Build" echo "Build"
md build md build
@ -8,7 +8,8 @@ cmake -DBUILD_DOTNET_BINDINGS=True -DBUILD_JAVA_BINDINGS=True -DBUILD_PYTHON_BIN
nmake nmake
if ERRORLEVEL 1 exit 1 if ERRORLEVEL 1 exit 1
if %1 == "x86" goto :BUILD_EXAMPLES if %1==x86 goto BUILD_EXAMPLES
if %1==amd64_arm64 goto BUILD_EXAMPLES
echo "Test python bindings" echo "Test python bindings"
pushd python pushd python
python z3test.py z3 python z3test.py z3
@ -20,10 +21,13 @@ popd
:BUILD_EXAMPLES :BUILD_EXAMPLES
echo "Build and run examples" echo "Build and run examples"
nmake cpp_example nmake cpp_example
if %1==amd64_arm64 goto C_EXAMPLE
examples\cpp_example_build_dir\cpp_example.exe examples\cpp_example_build_dir\cpp_example.exe
if ERRORLEVEL 1 exit 1 if ERRORLEVEL 1 exit 1
:C_EXAMPLE
nmake c_example nmake c_example
if %1==amd64_arm64 goto ALL_DONE
examples\c_example_build_dir\c_example.exe examples\c_example_build_dir\c_example.exe
if ERRORLEVEL 1 exit 1 if ERRORLEVEL 1 exit 1
@ -49,3 +53,5 @@ python z3test\scripts\test_benchmarks.py build\z3.exe z3test\regressions\smt2
if ERRORLEVEL 1 exit 1 if ERRORLEVEL 1 exit 1
echo "benchmarks tested" echo "benchmarks tested"
:ALL_DONE
echo "All done"