Avoid unsupported build configuration on Windows.

This commit is contained in:
Sönke Ludwig 2020-11-26 08:27:20 +01:00
parent 415fc984ce
commit 3ab9283986

View file

@ -6,8 +6,8 @@ set -e -x -o pipefail
dub build -b release --compiler=$DC -c $CONFIG
# test for successful 32-bit build
if [ "$DC" == "dmd" ]; then
dub build --arch=x86 -c $CONFIG
if [ "$DC" == "ldc2" ]; then
dub build --arch=x86 --compiler=ldc2 -c $CONFIG
fi
dub test --compiler=$DC -c $CONFIG