penpot/render-wasm/test
2025-04-10 14:10:05 +02:00

17 lines
466 B
Bash
Executable file

#!/usr/bin/env bash
set -x
_SCRIPT_DIR=$(dirname $0);
pushd $_SCRIPT_DIR;
. ./_build_env
export SKIA_BINARIES_URL="https://github.com/penpot/skia-binaries/releases/download/0.81.0-3/skia-binaries-24dee32a277b6c7b5357-x86_64-unknown-linux-gnu-gl-svg-textlayout-binary-cache.tar.gz"
export _CARGO_PARAMS="--target=x86_64-unknown-linux-gnu";
cargo test $_CARGO_PARAMS --bin render_wasm -- --show-output
# Exit with the same status code as cargo test
exit $?
popd