Skip to content
Draft
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
13 changes: 12 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -285,11 +285,21 @@ jobs:
- name: Run a full build
run: cargo xtask test-build --rust-gpu-version ${{ matrix.rust-gpu-version }}

release-dry-run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: install rust-toolchain
run: echo "TARGET=$(rustc --print host-tuple)" >> "$GITHUB_ENV"
- name: cargo fetch --locked
run: cargo fetch --locked --target $TARGET
- run: cargo publish --dry-run

# This allows us to have a single job we can branch protect on, rather than needing
# to update the branch protection rules when the test matrix changes
test_success:
runs-on: ubuntu-latest
needs: [test, compiletest, difftest, android, lint, cargo-deny, cargo-gpu-os, cargo-gpu-backwards-compat]
needs: [test, compiletest, difftest, android, lint, cargo-deny, release-dry-run, cargo-gpu-os, cargo-gpu-backwards-compat]
# Hack for buggy GitHub Actions behavior with skipped checks: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/troubleshooting-required-status-checks#handling-skipped-but-required-checks
if: ${{ always() }}
steps:
Expand All @@ -302,6 +312,7 @@ jobs:
[[ "${{ needs.android.result }}" == "success" ]] || exit 1
[[ "${{ needs.lint.result }}" == "success" ]] || exit 1
[[ "${{ needs.cargo-deny.result }}" == "success" ]] || exit 1
[[ "${{ needs.release-dry-run.result }}" == "success" ]] || exit 1
[[ "${{ needs.cargo-gpu-os.result }}" == "success" ]] || exit 1
[[ "${{ needs.cargo-gpu-backwards-compat.result }}" == "success" ]] || exit 1

Expand Down
4 changes: 3 additions & 1 deletion .release-plz.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@ body = """
[workspace]
changelog_update = false
git_tag_enable = false
git_release_enable = false

[[package]]
name = "spirv-std"
changelog_update = true
changelog_include = ["spirv-std-macros", "spirv-std-types", "spirv-builder", "rustc_codegen_spirv", "rustc_codegen_spirv-types", "cargo-gpu", "cargo-gpu-install"]
changelog_path = "CHANGELOG.md"
git_tag_enable = true
git_release_name = "v{{ version }}"
git_tag_name = "v{{ version }}"
git_release_enable = true
git_release_name = "v{{ version }}"
Loading