-
Notifications
You must be signed in to change notification settings - Fork 4
49 lines (39 loc) · 1.01 KB
/
ci.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
45
46
47
48
49
name: CI
on: push
jobs:
tests:
strategy:
fail-fast: false
matrix:
os: [windows-latest, macos-latest, ubuntu-latest]
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v2
with:
submodules: 'true'
- uses: goto-bus-stop/setup-zig@v2
with:
version: 0.11.0
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
cache: pip
- name: Install dependencies
working-directory: test/wasi/wasi-testsuite/test-runner
run: python3 -m pip install -r requirements.txt
- uses: mwilliamson/setup-wabt-action@v2
with:
wabt-version: "1.0.31"
- name: Build
run: |
zig build
- name: Run unit tests
run: |
zig build test-unit
- name: Run wasm testsuite
run: |
zig build test-wasm -- --log-suite
- name: Run wasi testsuite
run: |
zig build test-wasi