121 Commits

Author SHA1 Message Date
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
Firestar99
82a0f69008 ci: make cargo-apk use stable to satisfy rustc requirement 2024-12-17 19:20:41 +00:00
Christian Legnitto
8c2c494d59 Add labels to issue templates (#154)
@firestar99 said the labels were not being added, hopefully this fixes it.
2024-11-23 08:17:49 -04:00
Zanciks
9be942e967 Blocking cargo build dev on Mac 2024-11-10 23:54:55 +00:00
Zanciks
9ece6ff3c6 Added non release (dev) shader build
Updated ci.yaml to include a cargo build/run of example-runner-wgpu-builder in a dev profile (no --release)
2024-11-10 23:54:55 +00:00
Eduard-Mihai Burtescu
8b753aa8ce ci: enable GitHub Actions for merge queues. 2024-11-07 15:45:30 +00:00
Christian Legnitto
de03795411 Use free CI runner for lint (#11) 2024-09-16 22:54:23 -04:00
Christian Legnitto
e54dd75fb7 Initial changes for the handoff from Embark to the community. (#1)
* Change URLs
* Switch away from paid runners.
* Drop copyright from MIT license. Similar to the Rust project. See the git history of
https://github.com/rust-lang/rust/blob/master/LICENSE-MIT
2024-07-18 11:21:15 -04:00
Jake Shadle
e96418f9fa Update spirv-tools (#1127)
* Update to spirv-tools 0.10.0

* Use pre-built binaries from spirv-tools-rs

* Oops

* Target != host for android

* Use non-ancient ubuntu

* Oh right

* Update expected output

* Address feedback

* Oops

* Cancel actions when new commits are pushed

* Update CHANGELOG

* Fixup
2024-02-07 07:46:23 +00:00
Jake Shadle
3bd121ef25 Use single test job for branch protections 2024-02-05 20:01:47 +02:00
Christian Legnitto
f955221493 Add ignore and no_run to get cargo test to pass. (#1101)
* Add changelog entry and failing CI.

* Add ignore and no_run to get `cargo test` to pass.
2024-01-24 12:55:58 +01:00
Fredrik Fornwall
f003cc106d Install required android platform in CI (#1120) 2024-01-24 12:37:05 +01:00
Eduard-Mihai Burtescu
26fcbc0b67 spirv-builder: try getting the docs.rs doc build to succeed (by making rustc_codegen_spirv optional). 2023-07-15 01:03:08 +03:00
Eduard-Mihai Burtescu
bc40662167 ci: add custom lint for spirv-std building with -Z minimal-versions. 2023-05-19 15:19:57 +03:00
Eduard-Mihai Burtescu
791be4b5d7 ci: move custom lint from ci.yaml to lint.sh. 2023-05-19 15:19:57 +03:00
Eduard-Mihai Burtescu
98c1f3da6f ci: rename clippy.sh to lint.sh. 2023-05-19 15:19:57 +03:00