Skip to content

Commit 5e27b69

Browse files
committed
Merge branch 'version-0.4'
2 parents f9c6b8d + 4d6d69a commit 5e27b69

40 files changed

+1229
-1461
lines changed

.github/workflows/ci.yaml

Lines changed: 35 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
pull_request:
66
branches:
77
- master
8+
- version-0.4
89

910
name: tests
1011

@@ -16,38 +17,70 @@ jobs:
1617
rust:
1718
- stable
1819
- beta
19-
- 1.56.1 # MSRV
20+
- 1.57 # MSRV
2021

2122
steps:
2223
- uses: actions/checkout@v2
2324

2425
- uses: actions-rs/toolchain@v1
26+
name: Setup rust toolchain
2527
with:
2628
profile: minimal
2729
toolchain: ${{ matrix.rust }}
2830
override: true
2931
components: rustfmt, clippy
3032

3133
- uses: Swatinem/rust-cache@v1
34+
name: Load dependencies from cache
3235

3336
- uses: actions-rs/cargo@v1
37+
name: Build with stable features
3438
with:
3539
command: build
3640
args: --features stable
3741

3842
- uses: actions-rs/cargo@v1
43+
if: ${{ matrix.rust == 'nightly' }}
44+
name: Build with unstable features
45+
with:
46+
command: build
47+
args: --all-features
48+
49+
- uses: actions-rs/cargo@v1
50+
name: Build with minimal features
51+
with:
52+
command: build
53+
args: --no-default-features
54+
55+
- uses: actions-rs/cargo@v1
56+
name: Test with stable features
3957
with:
4058
command: test
4159
args: --features stable
4260

4361
- uses: actions-rs/cargo@v1
62+
name: Test with minimal features
63+
with:
64+
command: test
65+
args: --no-default-features
66+
67+
- uses: actions-rs/cargo@v1
68+
name: Check for non-standard formatting
4469
if: ${{ matrix.rust == 'stable' }}
4570
with:
4671
command: fmt
4772
args: --all -- --check
4873

4974
- uses: actions-rs/cargo@v1
50-
if: ${{ matrix.rust != '1.40.0' }} # 1.40 has horrible lints.
75+
name: Check for clippy hints
5176
with:
5277
command: clippy
5378
args: -- -D warnings
79+
80+
- name: Test run targeting WASI
81+
run: |
82+
curl https://wasmtime.dev/install.sh -sSf | bash
83+
source ~/.bashrc
84+
export PATH=$HOME/.wasmtime/bin/:$PATH
85+
cargo install cargo-wasi
86+
cargo wasi bench --no-default-features -- --test

0 commit comments

Comments
 (0)