mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-20 14:20:31 +00:00 
			
		
		
		
	The Linux builds rely on Docker (using Ubuntu 16.04LTS and Ubuntu 14.04LTS) to build and test Z3 so that builds are easily reproducible. A build status button has been added to `README.md` so that it is easy to see the current build status. More documentation can be found in `contrib/ci/README.md`. This implementation currently tests 13 different configurations. If build times become too long we can remove some of them. Although it would be nice to test macOS builds that requires significantly more work so I have left this as future work.
		
			
				
	
	
		
			24 lines
		
	
	
	
		
			555 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
	
		
			555 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
| #!/bin/bash
 | |
| 
 | |
| SCRIPT_DIR="$( cd ${BASH_SOURCE[0]%/*} ; echo $PWD )"
 | |
| . ${SCRIPT_DIR}/run_quiet.sh
 | |
| 
 | |
| set -x
 | |
| set -e
 | |
| set -o pipefail
 | |
| 
 | |
| : ${Z3_BUILD_DIR?"Z3_BUILD_DIR must be specified"}
 | |
| : ${BUILD_DOCS?"BUILD_DOCS must be specified"}
 | |
| 
 | |
| # Set CMake generator args
 | |
| source ${SCRIPT_DIR}/set_generator_args.sh
 | |
| 
 | |
| cd "${Z3_BUILD_DIR}"
 | |
| 
 | |
| # Generate documentation
 | |
| if [ "X${BUILD_DOCS}" = "X1" ]; then
 | |
|   # TODO: Make quiet once we've fixed the build
 | |
|   run_quiet cmake --build $(pwd) --target api_docs "${GENERATOR_ARGS[@]}"
 | |
| fi
 | |
| 
 | |
| # TODO: Test or perhaps deploy the built docs?
 |