From 876ccd7e776454cb4e5a2761c00f2260b9fc4798 Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Wed, 28 Feb 2024 15:39:10 -0500 Subject: [PATCH] CI build script for image gen demo --- ci-image-gen.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 ci-image-gen.sh diff --git a/ci-image-gen.sh b/ci-image-gen.sh new file mode 100755 index 0000000..f665747 --- /dev/null +++ b/ci-image-gen.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +set -euxo pipefail + +# Install build dependencies +rustup target add wasm32-unknown-unknown + +# Emit versions +rustup show active-toolchain +npm version + +# Install project dependencies +npm ci + +# Build projects +npx nx run studio:build:image-generator +npx nx run image-generator-demo:build:production +