136 Commits

Author SHA1 Message Date
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
Schell Carl Scivally
79acad1f91 Remove @schell from CODEOWNERS
All checks were successful
Rust Toolchain Upgrade / check-and-upgrade (push) Has been skipped
2026-02-11 09:02:45 +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
7369a36864 Get commit hash from nightly manifest correctly 2025-07-20 22:47:28 +03: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
Christian Legnitto
4e0da3fc0d Add differential testing harness
This runs wgsl shaders and rust shaders and compares the output.
If the output differs, the test fails. Differential testing is better
than snapshot testing or golden file testing as there are no reference
files to get outdated.
2025-06-04 15:15:45 +00:00
Firestar99
32088c84f7 fix ci step Rustfmt compiletests 2025-06-04 11:21:47 +00:00
Firestar99
609f380f32 ci: update ubuntu runners to 24.04 2025-04-18 11:42:43 +00:00
Christian Legnitto
d5754d0426 Add tracing to rustc_codegen_spirv
Fixes https://github.com/Rust-GPU/rust-gpu/issues/192
2025-01-21 10:50:02 -04:00
Christian Legnitto
1efb990126 Update CODEOWNERS
Remove @fornwall as he has never showed up and committed after the
Embark transfer, add new maintainers.
2025-01-03 09:26:40 -04:00
Eduard-Mihai Burtescu
1d76d59471 ci: update EmbarkStudios/cargo-deny-action to v2. 2024-12-18 10:46:51 +00:00
Eduard-Mihai Burtescu
5279b19a51 rustup: update to nightly-2024-06-08 (~1.80). 2024-12-18 10:46:51 +00:00
Eduard-Mihai Burtescu
49ef5c3ed0 Use an auto-patched copy of rustc_codegen_ssa (dubbed pqp_cg_ssa). 2024-12-18 10:46:51 +00:00