-
Notifications
You must be signed in to change notification settings - Fork 23
44 lines (35 loc) · 967 Bytes
/
wasm.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: WebAssembly
on:
push:
branches:
- main
tags:
- '*'
pull_request:
branches:
- main
jobs:
build-wasm:
name: "build-test-wasm"
runs-on: ubuntu-22.04
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
large-packages: false
- name: Install cypress deps
run: |
sudo apt-get update
# https://docs.cypress.io/guides/continuous-integration/introduction#Dependencies
sudo apt-get install -y libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 libxtst6 xauth xvfb
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- uses: prefix-dev/[email protected]
- name: Build
run: |
pixi run build
- name: Test TypeScript
run: |
pixi run test-typescript
- name: Test Python WASI
run: |
pixi run test-python-wasi