Skip to content

Commit 7ff7a2e

Browse files
committed
CI/tests: add build-wasm step
1 parent 372476f commit 7ff7a2e

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/tests.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,31 @@ jobs:
294294
path: target/release/tests
295295
retention-days: 7
296296

297+
build-wasm:
298+
timeout-minutes: 60
299+
runs-on: ${{ inputs.os }}
300+
steps:
301+
- name: Git checkout
302+
uses: actions/checkout@v5
303+
304+
- name: Setup build dependencies
305+
uses: ./.github/actions/setup-build-deps
306+
307+
- name: Use shared OCaml setting up steps
308+
uses: ./.github/actions/setup-ocaml
309+
with:
310+
ocaml_version: ${{ inputs.ocaml_version }}
311+
312+
- name: Setup WebAssembly environment
313+
uses: ./.github/actions/setup-wasm
314+
with:
315+
cache-prefix: wasm-v0
316+
317+
- name: Build WebAssembly
318+
run: make build-wasm
319+
env:
320+
RUSTFLAGS: ""
321+
297322

298323
p2p-scenario-tests:
299324
needs: [build-tests, build-tests-webrtc]

0 commit comments

Comments
 (0)