1*7bdf38e5Schristos#!/bin/bash 2*7bdf38e5Schristos 3*7bdf38e5Schristosset -e 4*7bdf38e5Schristos 5*7bdf38e5Schristosif [[ "$TRAVIS_OS_NAME" != "windows" ]]; then 6*7bdf38e5Schristos echo "Incorrect \$TRAVIS_OS_NAME: expected windows, got $TRAVIS_OS_NAME" 7*7bdf38e5Schristos exit 1 8*7bdf38e5Schristosfi 9*7bdf38e5Schristos 10*7bdf38e5Schristos$build_env autoconf 11*7bdf38e5Schristos$build_env ./configure $CONFIGURE_FLAGS 12*7bdf38e5Schristos# mingw32-make simply means "make", unrelated to mingw32 vs mingw64. 13*7bdf38e5Schristos# Simply disregard the prefix and treat is as "make". 14*7bdf38e5Schristos$build_env mingw32-make -j3 15*7bdf38e5Schristos# At the moment, it's impossible to make tests in parallel, 16*7bdf38e5Schristos# seemingly due to concurrent writes to '.pdb' file. I don't know why 17*7bdf38e5Schristos# that happens, because we explicitly supply '/Fs' to the compiler. 18*7bdf38e5Schristos# Until we figure out how to fix it, we should build tests sequentially 19*7bdf38e5Schristos# on Windows. 20*7bdf38e5Schristos$build_env mingw32-make tests 21