mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 20:18:18 +00:00
[TravisCI] Update out of date README.md
file.
This commit is contained in:
parent
2519719d3f
commit
0be28b66fe
|
@ -58,8 +58,9 @@ The `scripts/travis_ci_linux_entry_point.sh` script
|
||||||
variables (if set) into the build using the `--build-arg` argument of the `docker run`
|
variables (if set) into the build using the `--build-arg` argument of the `docker run`
|
||||||
command.
|
command.
|
||||||
|
|
||||||
If an environemnt variable is not set a defaults value is used which can be
|
The default values of the configuration environment variables
|
||||||
found in `Dockerfiles/z3_build.Dockerfile`.
|
can be found in
|
||||||
|
[`scripts/ci_defaults.sh`](scripts/ci_defaults.sh).
|
||||||
|
|
||||||
#### Linux specific configuration variables
|
#### Linux specific configuration variables
|
||||||
|
|
||||||
|
@ -67,8 +68,9 @@ found in `Dockerfiles/z3_build.Dockerfile`.
|
||||||
|
|
||||||
#### Reproducing a build locally
|
#### Reproducing a build locally
|
||||||
|
|
||||||
A build can be reproduced locally by using the `scripts/travis_ci_linux_entry_point.sh`
|
A build can be reproduced locally by using the
|
||||||
script and setting the appropriate environment variable.
|
`scripts/travis_ci_linux_entry_point.sh` script and setting the appropriate
|
||||||
|
environment variable.
|
||||||
|
|
||||||
For example lets say we wanted to reproduce the build below.
|
For example lets say we wanted to reproduce the build below.
|
||||||
|
|
||||||
|
@ -111,4 +113,36 @@ DockerHub for this.
|
||||||
|
|
||||||
### macOS
|
### macOS
|
||||||
|
|
||||||
Not yet implemented.
|
For macOS we execute directly on TravisCI's macOS environment. The entry point
|
||||||
|
for the TravisCI builds is the
|
||||||
|
[`scripts/travis_ci_osx_entry_point.sh`](scripts/travis_ci_osx_entry_point.sh)
|
||||||
|
scripts.
|
||||||
|
|
||||||
|
#### macOS specific configuration variables
|
||||||
|
|
||||||
|
* `MACOS_SKIP_DEPS_UPDATE` - If set to `1` installing the necessary build dependencies
|
||||||
|
is skipped. This is useful for local testing if the dependencies are already installed.
|
||||||
|
* `MACOS_UPDATE_CMAKE` - If set to `1` the installed version of CMake will be upgraded.
|
||||||
|
|
||||||
|
#### Reproducing a build locally
|
||||||
|
|
||||||
|
To reproduce a build (e.g. like the one shown below)
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
- os: osx
|
||||||
|
osx_image: xcode8.3
|
||||||
|
# Note: Apple Clang does not support OpenMP
|
||||||
|
env: Z3_BUILD_TYPE=RelWithDebInfo USE_OPENMP=0
|
||||||
|
```
|
||||||
|
|
||||||
|
Run the following:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
TRAVIS_BUILD_DIR=$(pwd) \
|
||||||
|
Z3_BUILD_TYPE=RelWithDebInfo \
|
||||||
|
USE_OPEN_MP=0 \
|
||||||
|
contrib/ci/scripts/travis_ci_osx_entry_point.sh
|
||||||
|
```
|
||||||
|
|
||||||
|
Note this assumes that the current working directory is the root of the Z3
|
||||||
|
git repository.
|
||||||
|
|
Loading…
Reference in a new issue