-
Notifications
You must be signed in to change notification settings - Fork 23
40 lines (31 loc) · 962 Bytes
/
test-all-features.yml
File metadata and controls
40 lines (31 loc) · 962 Bytes
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
name: Test All Features on Host
on:
push:
branches:
- main
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
CARGO_TERM_COLOR: always
jobs:
test-matrix:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Setup Rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
cache: true
- name: Test all features
run: cargo test --all-features
# TODO: Re-enable wasm32 check once ucan's #[cfg(target_arch = "wasm32")]
# code paths are fixed (missing wasm-bindgen/js-sys deps in ucan crate).
# - name: Install wasm32 target
# run: rustup target add wasm32-unknown-unknown
# - name: Check wasm32 target (ucan_wasm)
# run: cargo check --package ucan_wasm --target wasm32-unknown-unknown