From 2885b972923e8fa9f5560a740749d56dc04dad8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Doru=20Bl=C3=A2nzeanu?= Date: Wed, 18 Mar 2026 05:38:57 +0200 Subject: [PATCH] Add CI job that builds artifacts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Doru Blânzeanu --- .github/workflows/ci.yml | 45 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..99659d8 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,45 @@ +name: CI + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6.0.2 + + - name: Install system dependencies + run: | + sudo apt-get update + sudo apt-get install -y clang + + - name: Install Rust toolchain + uses: dtolnay/rust-toolchain@stable + with: + toolchain: "1.89.0" + targets: wasm32-wasip1, x86_64-unknown-none + + - name: Setup Node.js + uses: actions/setup-node@v6.3.0 + with: + node-version: "lts/*" + cache: npm + + - name: Install just + uses: extractions/setup-just@v3 + + - name: Install cargo-component + run: cargo install cargo-component + + - name: Install npm dependencies + run: npm install + + - name: Build host and components + run: | + just build + just build-rust-component + just build-js-component