mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-04 13:29:11 +00:00 
			
		
		
		
	Add MSVC ARM64 job to Azure Pipelines
This commit is contained in:
		
							parent
							
								
									3feb1479c9
								
							
						
					
					
						commit
						9ae1a6f061
					
				
					 2 changed files with 15 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -90,6 +90,13 @@ jobs:
 | 
			
		|||
  steps:
 | 
			
		||||
    - 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"
 | 
			
		||||
  displayName: "MacOS build"
 | 
			
		||||
  pool:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
rem Supply argument x64 or x86
 | 
			
		||||
rem Supply argument x64, x86 or amd64_arm64
 | 
			
		||||
 | 
			
		||||
echo "Build"
 | 
			
		||||
md build
 | 
			
		||||
| 
						 | 
				
			
			@ -8,7 +8,8 @@ cmake -DBUILD_DOTNET_BINDINGS=True -DBUILD_JAVA_BINDINGS=True -DBUILD_PYTHON_BIN
 | 
			
		|||
nmake
 | 
			
		||||
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"
 | 
			
		||||
pushd python
 | 
			
		||||
python z3test.py z3
 | 
			
		||||
| 
						 | 
				
			
			@ -20,10 +21,13 @@ popd
 | 
			
		|||
:BUILD_EXAMPLES
 | 
			
		||||
echo "Build and run examples"
 | 
			
		||||
nmake cpp_example
 | 
			
		||||
if %1==amd64_arm64 goto C_EXAMPLE
 | 
			
		||||
examples\cpp_example_build_dir\cpp_example.exe
 | 
			
		||||
if ERRORLEVEL 1 exit 1
 | 
			
		||||
 | 
			
		||||
:C_EXAMPLE
 | 
			
		||||
nmake c_example
 | 
			
		||||
if %1==amd64_arm64 goto ALL_DONE
 | 
			
		||||
examples\c_example_build_dir\c_example.exe
 | 
			
		||||
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
 | 
			
		||||
echo "benchmarks tested"
 | 
			
		||||
 | 
			
		||||
:ALL_DONE
 | 
			
		||||
echo "All done"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue