131 Commits

Author SHA1 Message Date
Christian Legnitto
36e3348cdc release-plz2: update difftest Cargo.lock in the release PR
All checks were successful
Release-plz / Release-plz release (push) Has been skipped
Release-plz / Release-plz PR (push) Has been skipped
Rust Toolchain Upgrade / check-and-upgrade (push) Has been skipped
The difftest workspace pulls `spirv-std` / `spirv-builder` via path
deps, so its `Cargo.lock` references their versions. release-plz only
bumps the root workspace, so add a follow-up step on the `release-pr`
job that checks out the freshly-created release PR, runs a targeted
`cargo update` against the difftest manifest for the five spirv-*
packages, and pushes the resulting lockfile change back onto the PR
before CI runs against it. Uses the documented "commit files to the
release PR" pattern from release-plz so we don't need a config option
upstream. `RUSTUP_TOOLCHAIN=stable` avoids rust-toolchain.toml
auto-installing the pinned nightly just to refresh a lockfile.
2026-05-20 08:50:43 +00:00
firestar99
f989936ad8 release-plz2: add release-dry-run job 2026-05-20 08:50:43 +00:00
Firestar99
ae3e45b219 difftest: compile difftest in ci before running 2026-04-24 13:38:50 +00:00
Firestar99
d7aa709ac8 difftest: use nextest to properly filter tests, adjust ci 2026-04-24 13:38:50 +00:00
firestar99
97588f0d7e release-plz: setup release-plz 2026-04-17 13:33:01 +00:00
firestar99
10e17d836b ci: fix cargo-gpu-backwards-compat failure due to indexmap@2 crate update
All checks were successful
Rust Toolchain Upgrade / check-and-upgrade (push) Has been skipped
2026-04-10 19:14:41 +00:00
firestar99
84f9ab916b ci: delay cargo-gpu-backwards-compat to ensure long-running jobs go first 2026-04-09 10:30:03 +02:00
firestar99
3a155de596 ci: upgrade checkout@v6 2026-04-09 10:17:42 +02:00
firestar99
bc20450801 ci: install nextext as recommended, random ci failures on mac 2026-04-09 10:17:42 +02:00
firestar99
42fa16297d cargo-gpu merge: merge in cargo-gpu ci 2026-04-09 10:17:42 +02:00
firestar99
eb79ff741c ci: don't cache vulkan sdk on mac, restore is broken
All checks were successful
Rust Toolchain Upgrade / check-and-upgrade (push) Has been skipped
see https://github.com/jakoch/install-vulkan-sdk-action/issues/558
2026-02-16 18:29:00 +00:00
firestar99
5b2e88f6c0 ci: move "test difftest" to test job 2026-02-16 18:29:00 +00:00
firestar99
ba5564b08a ci: remove rustup env vars, causing warnings 2026-02-16 18:29:00 +00:00
firestar99
5e1fe9736e ci: update install-vulkan-sdk, remove explicit driver registration
Some checks failed
Rust Toolchain Upgrade / check-and-upgrade (push) Has been cancelled
as of https://github.com/jakoch/install-vulkan-sdk-action/issues/547#issuecomment-3722370877 driver registration is done by the action itself
2026-01-09 17:41:34 +00:00
firestar99
be870e5d5f ci: switch to lavapipe 2026-01-09 02:24:56 +00:00
firestar99
2deaf6a7be ci: register vulkan driver in windows registry, required on windows-2025 runners
Some checks failed
Rust Toolchain Upgrade / check-and-upgrade (push) Has been cancelled
2026-01-07 16:31:22 +00:00
firestar99
65e2a45d17 ci: use *-latest OS, upgrading from windows-2022 to windows-2025
vulkan driver discovery behaviour has changed: https://github.com/jakoch/install-vulkan-sdk-action/issues/547#issuecomment-3719074065
2026-01-07 16:31:22 +00:00
firestar99
e3bd6d5306 ci: remove swiftshader setup
the action exports `VK_DRIVER_FILES` on its own now: https://github.com/jakoch/install-vulkan-sdk-action/pull/545
2026-01-07 16:31:22 +00:00
firestar99
2a2f9d5453 ci: forward github token to install-vulkan-sdk-action to fix timeouts
see https://github.com/jakoch/install-vulkan-sdk-action/issues/544
2026-01-07 16:31:22 +00:00
firestar99
a30bd43db4 spirv-builder: clap testing
Some checks failed
Rust Toolchain Upgrade / check-and-upgrade (push) Has been cancelled
2025-12-25 11:21:06 +00:00
firestar99
96fcc9dbe4 ci: don't install swiftshader where not necessary
Some checks failed
Rust Toolchain Upgrade / check-and-upgrade (push) Has been cancelled
also allow `workflow_dispatch` so we can launch CI pipelines manually on random branches without opening a PR
2025-12-17 16:58:36 +00:00
firestar99
49e3e57e42 ci: make lint/install rust-toolchain not redundant
All checks were successful
Rust Toolchain Upgrade / check-and-upgrade (push) Has been skipped
installing clippy also installs the toolchain, so the toolchain step does nothing and takes 0s
2025-12-05 10:35:47 +00:00
Firestar99
2f8523a376 ci: do not fail-fast matrices 2025-11-12 23:35:58 +00:00
firestar99
4359c333a3 ci: add compiletest target spv1.4 since some tests require spv1.4+ or vulkan1.2 2025-11-12 23:35:58 +00:00
firestar99
3b1ad48cae ci: ensure lint and cargo-deny succeed before merging
All checks were successful
Rust Toolchain Upgrade / check-and-upgrade (push) Has been skipped
2025-10-12 18:03:00 +00:00
Eduard-Mihai Burtescu
87b2ada637 ci: update Vulkan SDK to 1.4.321.0. 2025-10-11 10:58:29 +00:00
Nicholas Nethercote
d2cab9f0d6 Remove .github/workflows/ISSUE_TEMPLATE/bug_report.md.
It's in the wrong place, and it's empty.

There is also `.github/ISSUE_TEMPLATE/bug_report.md`, which is in the
right place.
2025-09-24 07:56:44 +00:00
Eduard-Mihai Burtescu
9451cde21f ci: switch to jakoch/install-vulkan-sdk-action@v1 for Vulkan SDK + SwiftShader.
All checks were successful
Rust Toolchain Upgrade / check-and-upgrade (push) Has been skipped
2025-09-19 04:51:39 +00:00
Eduard-Mihai Burtescu
8162296396 ci: remove NcStudios/VulkanCI@v1.2 (used for SwiftShader on Windows). 2025-09-19 04:51:39 +00:00
Christian Legnitto
f9c61f5ab5 Only run upgrade rust workflow on main repo
Fixes https://github.com/Rust-GPU/rust-gpu/issues/344
2025-07-22 09:29:40 +00:00
firestar99
d16e6ff377 ci: fix two PRs with same branch name but different forks canceling each other
Some checks failed
Rust Toolchain Upgrade / check-and-upgrade (push) Failing after 36s
2025-07-21 12:46:20 +00:00
Christian Legnitto
5bd2a999eb Add automated Rust toolchain upgrade workflow
Runs daily to check for new Rust nightly versions and creates a PR if one is available with all required components.
2025-07-20 22:39:29 +03:00
Firestar99
20052f89d9 ci: simplify clippy 2025-07-17 17:09:38 +00:00
Christian Legnitto
ad34240dd8 Vulkan on windows via swiftshader 2025-07-14 15:54:01 +00:00
Firestar99
7520e53520 ci: enable clippy for more crates 2 2025-07-11 10:01:04 +00:00
Firestar99
0458719252 ci: enable clippy for more crates 2025-07-11 10:01:04 +00:00
Nazar Mokrynskyi
35abd957ce Check status of dependencies in CI 2025-06-28 19:39:16 +00:00
Nazar Mokrynskyi
b19a8586e1 Fix CI skipping 2025-06-26 07:46:55 +00:00
Firestar99
ccb109d1dd ci: re-add spv1.3 testing 2025-06-22 12:48:23 +00:00
Firestar99
cf35ac5814 add vulkan1.3, vulkan1.4 and spv1.6 targets 2025-06-22 12:48:23 +00:00
Firestar99
61ff45d61c ci: default to bash shell 2025-06-21 22:49:07 +00:00
Firestar99
f1647acaaf ci: resolve target tuple from rustc 2025-06-21 22:49:07 +00:00
Christian Legnitto
73ae823661 Update mac target in CI to aarch64-apple-darwin
The `macOS-latest` images on GitHub are arm:

```
Current runner version: '2.324.0'
Operating System
  macOS
  14.7.5
  23H527
Runner Image
  Image: macos-14-arm64
```
2025-06-12 12:10:19 +00:00
Firestar99
fbe8893249 ci: replace spirv-tools prebuilds with vulkan sdk from lunarg 2025-06-11 20:15:13 +00:00
Firestar99
77070b70b4 ci: move testing difftests to difftest ci 2025-06-05 10:29:25 +00:00
Firestar99
27564b0a32 ci: don't test example-runner-*, they have no tests, just check them 2025-06-05 10:29:25 +00:00
Firestar99
bf6f369edd ci: test with "use-installed-tools" 2025-06-05 10:29:25 +00:00
Firestar99
88cc8e6224 ci: check lockfile of difftests 2025-06-05 10:29:25 +00:00
Firestar99
08a2ce5976 ci: separate out android build 2025-06-05 10:29:25 +00:00
Christian Legnitto
d9594d1b28 Split compiletests and difftests into parallel CI jobs 2025-06-05 10:29:25 +00:00