3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-06 09:34:08 +00:00
Commit graph

13 commits

Author SHA1 Message Date
Dan Liew 8835b54d16 [TravisCI] Add ASan/UBSan configuration that runs unit tests. 2017-10-16 08:56:17 +01:00
Dan Liew db7b2e989d [TravisCI] Try to run the Python and .NET examples under ASan. 2017-10-16 08:56:17 +01:00
Dan Liew 38d9e2df84 [TravisCI] Make ASan/UBSan configuration a debug build. 2017-10-16 08:56:17 +01:00
Dan Liew 11f7298c52 [TravisCI] Add ASan configuration 2017-10-16 08:56:17 +01:00
Dan Liew fb3d4cfed9 [TravisCI] Add a UBSan configuration 2017-10-16 08:56:17 +01:00
Dan Liew ba8bff76ae [TravisCI] Modify Debug configuration that I forgot to change with
`RUN_UNIT_TESTS=BUILD_ONLY`.
2017-10-06 15:52:01 +01:00
Dan Liew d47aea3987 [TravisCI] Workaround slow unit test execution for Debug builds.
Unit tests execute very slowly in Debug (i.e. unoptimized) builds.  This
causes TravisCI to terminate the job due to no console output being
seen.

To workaround this for the debug builds the tests are just compiled
but not executed. To implement this the `RUN_UNIT_TESTS` environment
variable now can take on the values `BUILD_ONLY`, `BUILD_AND_RUN`,
and `SKIP` rather than `0` or `1`.
2017-10-06 12:57:42 +01:00
Dan Liew 2bcbc5bb2f Revert "[TravisCI] Temporarily disable the macOS build configuration."
This reverts commit 9dc332ae9d.

@wintersteiger is now satisfied that using TravisCI's macOS support
is legal [1].

This fixes #1211

[1] https://github.com/Z3Prover/z3/issues/1211#issuecomment-328535885
2017-09-13 20:15:11 +01:00
Dan Liew 9dc332ae9d [TravisCI] Temporarily disable the macOS build configuration.
@wintersteiger is concerned there might be legal issues using
TravisCI's macOS infrastructure.

For context see:

https://github.com/Z3Prover/z3/pull/1207#issuecomment-322200998
2017-08-14 17:35:51 +01:00
Dan Liew 850c2ebc0c [TravisCI] Add scripts to build and test Z3 on macOS (OSX) and
add a single configuration to TravisCI to test.

TravisCI is very slow at running macOS jobs so just have one
configuration for now.
2017-08-12 19:14:06 +01:00
Dan Liew e88f33ba94 [TravisCI] Unbreak showing interactive log output for non-LTO
builds.

c2f69ae9fb added the use of the
`travis_wait` command to all builds but this stops interactive
build output from showing in the TravisCI web interface. To limit
the scope of this change we only use it for LTO builds now.
2017-08-12 19:14:06 +01:00
Dan Liew c2f69ae9fb [TravisCI] Try to make the LTO build more reliable.
TravisCI kills builds that don't show output for over 10 minutes [1].
This sometimes causes LTO builds to fail because gcc shows no output
during linking which can take many minutes to complete.

To workaround this we use the `travis_wait` command to allow at
most 45 minutes for the build to run. This command will force output
to appear at regular intervals.

The change is made in the top-level `.travis.yml` file rather than
the other scripts because I don't want to pollute them with TravisCI
specific details.

[1] https://docs.travis-ci.com/user/common-build-problems/#Build-times-out-because-no-output-was-received
2017-08-02 11:58:47 +01:00
Dan Liew 8310fed528 [TravisCI] Implement TravisCI build and testing infrastructure for Linux
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.
2017-07-01 11:51:30 +01:00