-
Notifications
You must be signed in to change notification settings - Fork 10
35 lines (34 loc) · 1.03 KB
/
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
30
31
32
33
34
35
name: Test
on: [ push, pull_request ]
jobs:
native:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Rust toolchain
run: rustup show
- name: cargo test
uses: actions-rs/cargo@v1
with:
command: test
args: --workspace --all-features
wasi:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- 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
uses: actions-rs/cargo@v1
with:
command: test
args: --workspace --all-features --target=wasm32-wasi