Azure: fail fast on 32-bit

This commit is contained in:
Ștefan Talpalaru 2020-04-04 19:22:20 +02:00
parent 9249be7268
commit 0b922e25f0
No known key found for this signature in database
GPG Key ID: CBF7934204F1B6F9
1 changed files with 5 additions and 4 deletions

View File

@ -65,11 +65,12 @@ jobs:
scripts/setup_official_tests.sh jsonTestsCache
mingw32-make -j2 ARCH_OVERRIDE=${PLATFORM} CI_CACHE=NimBinaries update
mingw32-make -j2 ARCH_OVERRIDE=${PLATFORM} fetch-dlls
if [[ $PLATFORM == "x64" ]]; then
# the 32-bit job struggles to complete under the 60 minutes time limit, so try to lighten it a little
mingw32-make -j2 ARCH_OVERRIDE=${PLATFORM} LOG_LEVEL=TRACE
fi
mingw32-make -j2 ARCH_OVERRIDE=${PLATFORM} LOG_LEVEL=TRACE NIMFLAGS="-d:testnet_servers_image"
file build/beacon_node
if [[ $PLATFORM == "x86" ]]; then
# fail fast
export NIMTEST_ABORT_ON_ERROR=1
fi
mingw32-make -j2 ARCH_OVERRIDE=${PLATFORM} DISABLE_TEST_FIXTURES_SCRIPT=1 test
displayName: 'build and test'