Skip to content
This repository was archived by the owner on Jan 29, 2025. It is now read-only.

Commit 97168a9

Browse files
committed
Don't test on MSRV, just check
1 parent d59bc3b commit 97168a9

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

.github/workflows/pipeline.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,12 @@ jobs:
2626
- uses: actions-rs/cargo@v1
2727
name: Test all features
2828
with:
29+
# we could use `test` but `criterion` is a dev dependency,
30+
# and it doesn't build with our MSRV
31+
command: check
2932
# `cli` already enables most features, so let's add the rest,
3033
# except for `arbitrary`, which requires Rust-1.51
31-
command: test
32-
args: --workspace --features serialize,deserialize
34+
args: --workspace
3335
- name: Check snapshots
3436
run: git diff --exit-code -- tests/out
3537
test:

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ hexf-parse = { version = "0.2.1", optional = true }
6464

6565
[dev-dependencies]
6666
bincode = "1"
67-
criterion = { version = "0.3", features = ["html_reports"] }
67+
criterion = { version = "0.3", features = [] }
6868
diff = "0.1"
6969
ron = "0.7"
7070
serde = { version = "1.0", features = ["derive"] }

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ all:
1111
clean:
1212
rm *.metal *.air *.metallib *.vert *.frag *.comp *.spv
1313

14+
bench:
15+
#rm -Rf target/criterion
16+
cargo bench
17+
1418
%.metal: $(SNAPSHOTS_BASE_IN)/%.wgsl $(wildcard src/*.rs src/**/*.rs examples/*.rs)
1519
cargo run --features wgsl-in,msl-out -- $< $@
1620

0 commit comments

Comments
 (0)