Skip to content

chore: update to new WIT files handling #75

chore: update to new WIT files handling

chore: update to new WIT files handling #75

Workflow file for this run

name: Check
on:
push:
branches:
- main
pull_request:
jobs:
test:
name: test
runs-on: ubuntu-latest
container:
image: ghcr.io/webassembly/wasi-sdk:latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: "Set up C component build system"
run: |
apt-get update
apt install curl clang build-essential -y
- name: Set up minimal stable Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Install wasm tooling
run: CC=clang cargo install wit-bindgen-cli wasm-tools --locked
- name: Generate code
run: make setup
#- name: Install edgee
# uses: edgee-cloud/[email protected]
# with:
# build: true
#- name: Build component
# run: edgee components build
- name: Build component
run: make build-no-edgee
- name: Verify .wasm file exists
run: |
if [ ! -f "./dc_component.wasm" ]; then
echo "❌ Error: dc_component.wasm not found" >&2
exit 1
fi