Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions .github/workflows/rust-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ jobs:
- name: cargo test
run: cargo test --release --all-features

# Remove this check if you don't use cargo-deny in the repo
deny-check:
name: cargo-deny
runs-on: ubuntu-22.04
Expand All @@ -72,19 +71,23 @@ jobs:
submodules: true
- uses: EmbarkStudios/cargo-deny-action@v2

# Remove this check if you don't publish the crate(s) from this repo
publish-check:
name: Publish Check
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
submodules: true
- run: cargo fetch
- name: cargo publish check
run: cargo publish --dry-run --manifest-path spirv-tools-sys/Cargo.toml
- name: cargo publish check
run: cargo publish --dry-run --manifest-path Cargo.toml
- uses: cargo-bins/cargo-binstall@main
- run: cargo binstall cargo-release
- run: cargo fetch --locked
- name: cargo release --workspace
run: cargo release patch --allow-branch=*
# cargo release in workspace root doesn't actually run `publish check` on any crate, do so manually
- name: cargo publish check spirv-tools-sys
run: cargo release patch --allow-branch=* --manifest-path spirv-tools-sys/Cargo.toml
- name: cargo publish check spirv-tools
run: cargo release patch --allow-branch=* --manifest-path spirv-tools/Cargo.toml

defaults:
run:
Expand Down
249 changes: 246 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading