Some checks failed
CI / test-core (14, ubuntu-latest, 3.x, js) (push) Failing after 1m47s
CI / test-core (14, ubuntu-latest, 3.x, py) (push) Failing after 3m3s
CI / test-core (14, ubuntu-latest, 3.x, interp) (push) Failing after 1m52s
CI / test-core (14, ubuntu-latest, 3.x, nodejs) (push) Failing after 2m47s
CI / test (push) Failing after 52s
CI / test-core (14, ubuntu-latest, 3.x, cpp) (push) Failing after 1m52s
28 lines
752 B
Bash
Executable File
28 lines
752 B
Bash
Executable File
#! /bin/bash
|
|
|
|
KISS_TARGET=${KISS_TARGET:-$1}
|
|
KISS_TARGET=${KISS_TARGET:-interp}
|
|
|
|
if [ -n "$CI_OS_NAME" ]; then
|
|
FLAGS="-D kissCache" # for testing AsyncEmbeddedScript
|
|
lix download
|
|
fi
|
|
|
|
if [ "$KISS_TARGET" = cpp ]; then
|
|
lix install haxelib:hxcpp
|
|
elif [ "$KISS_TARGET" = cs ]; then
|
|
lix install haxelib:hxcs
|
|
elif [ "$KISS_TARGET" = nodejs ]; then
|
|
lix install haxelib:hxnodejs
|
|
fi
|
|
|
|
if [ -e AsyncDSLScript.cache.json ]; then
|
|
rm AsyncDSLScript*.json
|
|
fi
|
|
|
|
if [ ! -z "$2" ]; then
|
|
haxe $FLAGS -D cases=$2 build-scripts/common-args.hxml build-scripts/common-test-args.hxml build-scripts/$KISS_TARGET/test.hxml
|
|
else
|
|
haxe $FLAGS build-scripts/common-args.hxml build-scripts/common-test-args.hxml build-scripts/$KISS_TARGET/test.hxml
|
|
fi
|