From dcef3a8db9cfdcf19716b0e56125c4927a3f219f Mon Sep 17 00:00:00 2001 From: kevaundray Date: Tue, 3 Oct 2023 17:55:51 +0000 Subject: [PATCH 1/3] skip cpp build --- .github/workflows/publish-bb.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-bb.yml b/.github/workflows/publish-bb.yml index 28ddb777e5b..bbf9db15360 100644 --- a/.github/workflows/publish-bb.yml +++ b/.github/workflows/publish-bb.yml @@ -107,7 +107,7 @@ jobs: - name: Compile Typescript run: | cd barretenberg/ts - yarn install && yarn && yarn build + yarn install && yarn && SKIP_CPP_BUILD=1 yarn build - name: Tar and GZip barretenberg.wasm working-directory: barretenberg/cpp/build-wasm/bin From ee0d2cd5fbd034272fdc903a0b0c9f1764aceb8e Mon Sep 17 00:00:00 2001 From: kevaundray Date: Tue, 3 Oct 2023 18:59:40 +0100 Subject: [PATCH 2/3] Update .github/workflows/publish-bb.yml --- .github/workflows/publish-bb.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-bb.yml b/.github/workflows/publish-bb.yml index bbf9db15360..18242bb5bb1 100644 --- a/.github/workflows/publish-bb.yml +++ b/.github/workflows/publish-bb.yml @@ -107,7 +107,7 @@ jobs: - name: Compile Typescript run: | cd barretenberg/ts - yarn install && yarn && SKIP_CPP_BUILD=1 yarn build + yarn install && yarn && SKIP_CPP_BUILD=0 yarn build - name: Tar and GZip barretenberg.wasm working-directory: barretenberg/cpp/build-wasm/bin From 56985f5675a7e3e6a4d927ae29d33807e5285bae Mon Sep 17 00:00:00 2001 From: kevaundray Date: Tue, 3 Oct 2023 18:08:07 +0000 Subject: [PATCH 3/3] remove -u and don't set anything --- .github/workflows/publish-bb.yml | 2 +- barretenberg/ts/scripts/build_wasm.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-bb.yml b/.github/workflows/publish-bb.yml index bbf9db15360..28ddb777e5b 100644 --- a/.github/workflows/publish-bb.yml +++ b/.github/workflows/publish-bb.yml @@ -107,7 +107,7 @@ jobs: - name: Compile Typescript run: | cd barretenberg/ts - yarn install && yarn && SKIP_CPP_BUILD=1 yarn build + yarn install && yarn && yarn build - name: Tar and GZip barretenberg.wasm working-directory: barretenberg/cpp/build-wasm/bin diff --git a/barretenberg/ts/scripts/build_wasm.sh b/barretenberg/ts/scripts/build_wasm.sh index 340bbf99c7b..6c108f6770a 100755 --- a/barretenberg/ts/scripts/build_wasm.sh +++ b/barretenberg/ts/scripts/build_wasm.sh @@ -1,5 +1,5 @@ #!/bin/sh -set -eu +set -e if [ -z "$SKIP_CPP_BUILD" ]; then # Build the wasms and strip debug symbols.