Skip to content

Commit

Permalink
Merge pull request #679 from uuid-rs/ci/msrv-build
Browse files Browse the repository at this point in the history
Fix up MSRV build in CI
  • Loading branch information
KodrAus committed May 28, 2023
2 parents a0d6eb6 + e582a3d commit 6188ecf
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
run: cargo test --all-features

msrv:
name: "Tests / MSRV"
name: "Build / MSRV"
runs-on: ubuntu-latest
steps:
- name: Checkout sources
Expand All @@ -88,7 +88,7 @@ jobs:
run: rustup update 1.57.0

- name: Version features
run: cargo +1.57.0 test --features "$VERSION_FEATURES"
run: cargo +1.57.0 build --manifest-path tests/smoke-test/Cargo.toml

wasm_bindgen:
name: Tests / WebAssembly (wasm-bindgen)
Expand Down
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -180,5 +180,6 @@ features = ["Win32_System_Com"]

[workspace]
members = [
"macros"
"macros",
"tests/smoke-test",
]
1 change: 1 addition & 0 deletions tests/smoke-test/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Cargo.lock
9 changes: 9 additions & 0 deletions tests/smoke-test/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[package]
name = "uuid-smoke-test"
version = "0.0.0"
publish = false
edition = "2018"

[dependencies.uuid]
path = "../../"
features = ["v4"]
1 change: 1 addition & 0 deletions tests/smoke-test/src/main.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fn main() { }

0 comments on commit 6188ecf

Please sign in to comment.