lib_um_crypto_rust/.drone.yml

20 lines
439 B
YAML
Raw Normal View History

2024-09-22 18:12:12 +00:00
kind: pipeline
type: docker
name: default
steps:
2024-09-24 19:34:29 +00:00
- name: build (rust)
image: rust:1.81-bookworm
2024-09-22 18:12:12 +00:00
commands:
- cargo test --verbose --all
2024-09-24 19:34:29 +00:00
- curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- (cd um_wasm && wasm-pack build --release --target web --out-dir ../um_wasm_loader/pkg)
- name: build (node)
image: node:22.9-bookworm
commands:
- corepack enable
- pnpm i
- BUILD_SKIP_WASM_PACK=1 pnpm build