marine/fluence-faas/tests/wasm_tests/build.sh

31 lines
958 B
Bash
Raw Normal View History

2021-05-11 12:44:11 +00:00
#/bin/sh
2020-09-22 22:14:54 +00:00
# This script builds all tests
2021-04-11 21:21:47 +00:00
(
cd arguments_passing || exit;
cargo update --aggressive;
2021-05-10 09:51:22 +00:00
marine build --release;
2021-04-13 09:36:14 +00:00
rm artifacts/* || true;
2021-04-11 21:21:47 +00:00
)
2020-09-22 22:14:54 +00:00
2021-04-11 21:21:47 +00:00
(
cd arrays_passing || exit;
cargo update --aggressive;
2021-05-10 09:51:22 +00:00
marine build --release;
2021-04-13 09:36:14 +00:00
rm artifacts/* || true;
2021-04-11 21:21:47 +00:00
)
2020-09-22 22:14:54 +00:00
2021-04-11 21:21:47 +00:00
(
2021-04-13 09:36:14 +00:00
cd records_passing || exit;
cargo update --aggressive;
2021-05-10 09:51:22 +00:00
marine build --release;
2021-04-13 09:36:14 +00:00
rm artifacts/* || true;
2021-04-11 21:21:47 +00:00
)
2020-09-22 22:14:54 +00:00
cp ../../../target/wasm32-wasi/release/arguments_passing_effector.wasm arguments_passing/artifacts/
cp ../../../target/wasm32-wasi/release/arguments_passing_pure.wasm arguments_passing/artifacts/
cp ../../../target/wasm32-wasi/release/arrays_passing_effector.wasm arrays_passing/artifacts/
cp ../../../target/wasm32-wasi/release/arrays_passing_pure.wasm arrays_passing/artifacts/
2021-04-13 09:36:14 +00:00
cp ../../../target/wasm32-wasi/release/records_passing_effector.wasm records_passing/artifacts/
cp ../../../target/wasm32-wasi/release/records_passing_pure.wasm records_passing/artifacts/