From 63c7dc14edd246bbec88f7eddad9c5861d028d88 Mon Sep 17 00:00:00 2001 From: Marcin Kolny Date: Tue, 3 Jan 2023 17:52:53 +0000 Subject: [PATCH] Set some flags for build scripts So we fail the script if one of the test doesn't compile --- tests/c/build.sh | 1 + tests/rust/build.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/c/build.sh b/tests/c/build.sh index 01188f5f..3372ffbb 100755 --- a/tests/c/build.sh +++ b/tests/c/build.sh @@ -1,4 +1,5 @@ #!/bin/bash +set -ueo pipefail CC=${CC:=clang} diff --git a/tests/rust/build.sh b/tests/rust/build.sh index 40a0003f..3db1e359 100755 --- a/tests/rust/build.sh +++ b/tests/rust/build.sh @@ -1,4 +1,5 @@ #!/bin/bash +set -ueo pipefail cargo build --target=wasm32-wasi