mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 04:03:39 +00:00
travis timeouts
This commit is contained in:
parent
26c96e49cd
commit
1bb9a02160
13
.travis.yml
13
.travis.yml
|
@ -22,18 +22,18 @@ env:
|
||||||
# amount of time to execute compared to the optimized builds.
|
# amount of time to execute compared to the optimized builds.
|
||||||
|
|
||||||
# clang
|
# clang
|
||||||
- LINUX_BASE=ubuntu_20.04 C_COMPILER=clang CXX_COMPILER=clang++ TARGET_ARCH=x86_64 Z3_BUILD_TYPE=Debug ASAN_BUILD=1 RUN_UNIT_TESTS=BUILD_AND_RUN DOTNET_BINDINGS=0 JAVA_BINDINGS=0 PYTHON_BINDINGS=0
|
- LINUX_BASE=ubuntu_20.04 C_COMPILER=clang CXX_COMPILER=clang++ TARGET_ARCH=x86_64 Z3_BUILD_TYPE=Debug RUN_UNIT_TESTS=BUILD_AND_RUN
|
||||||
- LINUX_BASE=ubuntu_20.04 C_COMPILER=clang CXX_COMPILER=clang++ TARGET_ARCH=x86_64 Z3_BUILD_TYPE=Release UBSAN_BUILD=1 RUN_UNIT_TESTS=BUILD_AND_RUN
|
- LINUX_BASE=ubuntu_20.04 C_COMPILER=clang CXX_COMPILER=clang++ TARGET_ARCH=x86_64 Z3_BUILD_TYPE=Release UBSAN_BUILD=1 RUN_UNIT_TESTS=BUILD_AND_RUN
|
||||||
- LINUX_BASE=ubuntu_20.04 C_COMPILER=clang CXX_COMPILER=clang++ TARGET_ARCH=x86_64 Z3_BUILD_TYPE=RelWithDebInfo ASAN_BUILD=1 RUN_UNIT_TESTS=BUILD_AND_RUN UBSAN_BUILD=1 RUN_API_EXAMPLES=0 RUN_SYSTEM_TESTS=0 DOTNET_BINDINGS=0 JAVA_BINDINGS=0 PYTHON_BINDINGS=0
|
- LINUX_BASE=ubuntu_20.04 C_COMPILER=clang CXX_COMPILER=clang++ TARGET_ARCH=x86_64 Z3_BUILD_TYPE=Release ASAN_BUILD=1 RUN_UNIT_TESTS=BUILD_AND_RUN DOTNET_BINDINGS=0 JAVA_BINDINGS=0 PYTHON_BINDINGS=0
|
||||||
|
|
||||||
# gcc
|
# gcc
|
||||||
# ubsan/msan builds too slow
|
# ubsan/msan builds too slow
|
||||||
- LINUX_BASE=ubuntu_20.04 C_COMPILER=gcc CXX_COMPILER=g++ TARGET_ARCH=x86_64 Z3_BUILD_TYPE=Release UBSAN_BUILD=1 RUN_UNIT_TESTS=BUILD_AND_RUN
|
- LINUX_BASE=ubuntu_20.04 C_COMPILER=gcc CXX_COMPILER=g++ TARGET_ARCH=x86_64 Z3_BUILD_TYPE=Release RUN_UNIT_TESTS=BUILD_AND_RUN
|
||||||
- LINUX_BASE=ubuntu_20.04 C_COMPILER=gcc CXX_COMPILER=g++ TARGET_ARCH=x86_64 Z3_BUILD_TYPE=Debug RUN_UNIT_TESTS=BUILD_AND_RUN
|
- LINUX_BASE=ubuntu_20.04 C_COMPILER=gcc CXX_COMPILER=g++ TARGET_ARCH=x86_64 Z3_BUILD_TYPE=Debug RUN_UNIT_TESTS=BUILD_AND_RUN
|
||||||
|
|
||||||
# GMP library
|
# GMP library
|
||||||
- LINUX_BASE=ubuntu_20.04 C_COMPILER=gcc CXX_COMPILER=g++ TARGET_ARCH=x86_64 Z3_BUILD_TYPE=Release USE_LIBGMP=1 RUN_UNIT_TESTS=BUILD_AND_RUN
|
- LINUX_BASE=ubuntu_20.04 TARGET_ARCH=x86_64 Z3_BUILD_TYPE=Release USE_LIBGMP=1 RUN_UNIT_TESTS=BUILD_AND_RUN
|
||||||
- LINUX_BASE=ubuntu_20.04 C_COMPILER=gcc CXX_COMPILER=g++ TARGET_ARCH=x86_64 Z3_BUILD_TYPE=Debug USE_LIBGMP=1 RUN_UNIT_TESTS=BUILD_AND_RUN
|
- LINUX_BASE=ubuntu_20.04 TARGET_ARCH=x86_64 Z3_BUILD_TYPE=Debug USE_LIBGMP=1 RUN_UNIT_TESTS=BUILD_AND_RUN
|
||||||
|
|
||||||
# Test with Python 3 and API docs
|
# Test with Python 3 and API docs
|
||||||
- LINUX_BASE=ubuntu_20.04 BUILD_DOCS=1
|
- LINUX_BASE=ubuntu_20.04 BUILD_DOCS=1
|
||||||
|
@ -51,5 +51,4 @@ env:
|
||||||
script:
|
script:
|
||||||
# Use `travis_wait` when building because some configurations don't produce an
|
# Use `travis_wait` when building because some configurations don't produce an
|
||||||
# output for a long time (linking & testing)
|
# output for a long time (linking & testing)
|
||||||
#- travis_wait 55 contrib/ci/scripts/travis_ci_entry_point.sh || exit 1;
|
- travis_wait 55 contrib/ci/scripts/travis_ci_entry_point.sh || exit 1;
|
||||||
- contrib/ci/scripts/travis_ci_entry_point.sh || exit 1;
|
|
||||||
|
|
|
@ -65,13 +65,13 @@ def process_model(s, xij, n):
|
||||||
def all_models(n):
|
def all_models(n):
|
||||||
count = 0
|
count = 0
|
||||||
s, xij = ais(n)
|
s, xij = ais(n)
|
||||||
start = time.clock()
|
start = time.time()
|
||||||
while sat == s.check():
|
while sat == s.check():
|
||||||
block = process_model(s, xij, n)
|
block = process_model(s, xij, n)
|
||||||
s.add(Not(And(block)))
|
s.add(Not(And(block)))
|
||||||
count += 1
|
count += 1
|
||||||
print(s.statistics())
|
print(s.statistics())
|
||||||
print(time.clock() - start)
|
print(time.time() - start)
|
||||||
print(count)
|
print(count)
|
||||||
|
|
||||||
set_option(verbose=1)
|
set_option(verbose=1)
|
||||||
|
|
Loading…
Reference in a new issue