forked from bytecodealliance/javy
-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (25 loc) · 952 Bytes
/
cli-features.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
# Tests extra CLI features and their dependency with plugin features.
name: Test CLI Features
on:
push:
branches:
- main
pull_request:
jobs:
cli:
name: Test CLI Features
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/ci-shared-setup
with:
os: linux
- name: Build test-plugin
run: |
cargo build --package=javy-test-plugin --release --target=wasm32-wasip1
CARGO_PROFILE_RELEASE_LTO=off cargo build --package=javy-cli --release
target/release/javy init-plugin target/wasm32-wasip1/release/test_plugin.wasm -o crates/runner/test_plugin.wasm
- name: Test `experimental_event_loop`
run: |
cargo build --package=javy-plugin --target=wasm32-wasip1 --release --features=experimental_event_loop
cargo test --package=javy-cli --features=experimental_event_loop --release -- --nocapture