fix: rename nan-tagging build configs and add release variant with CI script
Replace the broken `64bit-no-nan-tagging_64bit` and `64bit-no-nan-tagging_32bit` configurations with properly named `release_64bit-no-nan-tagging` and `debug_64bit-no-nan-tagging` across all gmake Makefiles and wren_cli.make files. Add the missing `release_64bit-no-nan-tagging` build target definitions for linux, mac, and bsd platforms. Introduce `.travis.sh` script that runs both nan-tagged and non-nan-tagged debug and release builds, and simplify `.travis.yml` to use the new script with per-os env variables instead of matrix options.
This commit is contained in:
+30
@@ -0,0 +1,30 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
# This build script only builds mac or linux right now, for CI.
|
||||
WREN_WD="projects/gmake"
|
||||
if [ -n "$WREN_TARGET_MAC" ]
|
||||
then
|
||||
WREN_WD="projects/gmake.mac"
|
||||
fi
|
||||
|
||||
WREN_PY="python3"
|
||||
if [ -n "$WREN_PY_BINARY" ]
|
||||
then
|
||||
WREN_PY="$WREN_PY_BINARY"
|
||||
fi
|
||||
|
||||
echo "using working directory '$WREN_WD' ..."
|
||||
echo "using python binary '$WREN_PY' ..."
|
||||
|
||||
cd "$WREN_WD" && make config=debug_64bit-no-nan-tagging
|
||||
cd ../../ && $WREN_PY ./util/test.py --suffix=_d
|
||||
|
||||
cd "$WREN_WD" && make config=debug_64bit
|
||||
cd ../../ && $WREN_PY ./util/test.py --suffix=_d
|
||||
|
||||
cd "$WREN_WD" && make config=release_64bit-no-nan-tagging
|
||||
cd ../../ && $WREN_PY ./util/test.py
|
||||
|
||||
cd "$WREN_WD" && make config=release_64bit
|
||||
cd ../../ && $WREN_PY ./util/test.py
|
||||
Reference in New Issue
Block a user