|
@ -4,12 +4,16 @@ type: docker |
|
|
name: default |
|
|
name: default |
|
|
|
|
|
|
|
|
steps: |
|
|
steps: |
|
|
|
|
|
- name: build-wasm |
|
|
|
|
|
image: emscripten/emsdk:3.0.0 |
|
|
|
|
|
commands: |
|
|
|
|
|
- ./scripts/build-wasm.sh |
|
|
|
|
|
|
|
|
- name: build |
|
|
- name: build |
|
|
image: node:16.18-bullseye |
|
|
image: node:16.18-bullseye |
|
|
commands: |
|
|
commands: |
|
|
- apt-get update |
|
|
- apt-get update |
|
|
- apt-get install -y cmake jq zip |
|
|
- apt-get install -y jq zip |
|
|
- ./scripts/build-wasm.sh |
|
|
|
|
|
- npm ci |
|
|
- npm ci |
|
|
- npm run test |
|
|
- npm run test |
|
|
- ./scripts/build-and-package.sh legacy |
|
|
- ./scripts/build-and-package.sh legacy |
|
|