1
0
forked from Mirror/wren
Files
wren/.travis.sh

26 lines
603 B
Bash
Raw Normal View History

#!/bin/bash
set -e
# This build script only builds mac or linux right now, for CI.
WREN_WD="projects/make"
2020-06-14 06:25:18 +02:00
if [ -n "$WREN_TARGET_MAC" ]; then
WREN_WD="projects/make.mac"
fi
2020-06-14 06:25:18 +02:00
WREN_PY=${WREN_PY_BINARY:-python3}
echo "using working directory '$WREN_WD' ..."
echo "using python binary '$WREN_PY' ..."
2020-06-14 06:25:18 +02:00
make -C $WREN_WD config=debug_64bit-no-nan-tagging
$WREN_PY ./util/test.py --suffix=_d
2020-06-14 06:25:18 +02:00
make -C $WREN_WD config=debug_64bit
$WREN_PY ./util/test.py --suffix=_d
2020-06-14 06:25:18 +02:00
make -C $WREN_WD config=release_64bit-no-nan-tagging
$WREN_PY ./util/test.py
2020-06-14 06:25:18 +02:00
make -C $WREN_WD config=release_64bit
$WREN_PY ./util/test.py