Files
wren/.travis.sh
T

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.
2020-06-02 11:22:39 -07:00
WREN_WD="projects/make"
2020-06-06 22:00:11 +02:00
if [ -n "$WREN_TARGET_MAC" ]; then
2020-06-02 11:22:39 -07:00
WREN_WD="projects/make.mac"
fi
2020-06-06 22:00:11 +02:00
WREN_PY=${WREN_PY_BINARY:-python3}
echo "using working directory '$WREN_WD' ..."
echo "using python binary '$WREN_PY' ..."
2020-06-06 22:00:11 +02:00
make -C $WREN_WD config=debug_64bit-no-nan-tagging
$WREN_PY ./util/test.py --suffix=_d
2020-06-06 22:00:11 +02:00
make -C $WREN_WD config=debug_64bit
$WREN_PY ./util/test.py --suffix=_d
2020-06-06 22:00:11 +02:00
make -C $WREN_WD config=release_64bit-no-nan-tagging
$WREN_PY ./util/test.py
2020-06-06 22:00:11 +02:00
make -C $WREN_WD config=release_64bit
$WREN_PY ./util/test.py