-
Notifications
You must be signed in to change notification settings - Fork 10
29 lines (28 loc) · 937 Bytes
/
test.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
name: Test
on: [ push, pull_request ]
jobs:
native:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Rust toolchain
run: rustup show
- name: cargo test
run: cargo test --workspace --all-features
wasi:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Rust toolchain
run: rustup show
# Put this back when Enarx is able to receive TCP configuation from the command line.
#- name: Download enarx
# run: curl -sLO https://github.com/enarx/enarx/releases/download/v0.6.4/enarx-0.6.4-1_amd64.deb
#- name: Install enarx
# run: sudo dpkg -i enarx-0.6.4-1_amd64.deb
- name: Download Wasmtime
run: cargo install wasmtime-cli
- name: Check wasmtime version
run: wasmtime --version
- name: cargo test
run: cargo test --workspace --all-features --target=wasm32-wasi