Disable `proc-macros` crate from being tested due to cargo bug (#3103)

* cargo: remove unused `editor/ron` feature

* cargo: add wgpu-executor as a member, sort list

* cargo: test every crate by default

* cargo: disable testing of `graphite-proc-macros`
This commit is contained in:
Firestar99 2025-08-29 12:25:35 +02:00 committed by GitHub
parent c14e67ec28
commit ce1cd1706b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 20 additions and 11 deletions

View File

@ -108,7 +108,7 @@ jobs:
- name: 🧪 Run Rust tests - name: 🧪 Run Rust tests
run: | run: |
mold -run cargo test --all-features --workspace mold -run cargo test --all-features
- name: 📃 Generate code documentation info for website - name: 📃 Generate code documentation info for website
if: github.ref == 'refs/heads/master' if: github.ref == 'refs/heads/master'

View File

@ -1,44 +1,55 @@
[workspace] [workspace]
members = [ members = [
"editor",
"desktop", "desktop",
"desktop/wrapper", "desktop/wrapper",
"desktop/embedded-resources", "desktop/embedded-resources",
"proc-macros", "editor",
"frontend/wasm", "frontend/wasm",
"libraries/dyn-any",
"libraries/path-bool",
"libraries/math-parser",
"node-graph/gapplication-io", "node-graph/gapplication-io",
"node-graph/gbrush", "node-graph/gbrush",
"node-graph/gcore", "node-graph/gcore",
"node-graph/gcore-shaders", "node-graph/gcore-shaders",
"node-graph/gstd",
"node-graph/gmath-nodes", "node-graph/gmath-nodes",
"node-graph/gpath-bool", "node-graph/gpath-bool",
"node-graph/graph-craft", "node-graph/graph-craft",
"node-graph/graphene-cli", "node-graph/graphene-cli",
"node-graph/graster-nodes", "node-graph/graster-nodes",
"node-graph/gstd",
"node-graph/gsvg-renderer", "node-graph/gsvg-renderer",
"node-graph/interpreted-executor", "node-graph/interpreted-executor",
"node-graph/node-macro", "node-graph/node-macro",
"node-graph/preprocessor", "node-graph/preprocessor",
"node-graph/wgpu-executor",
"proc-macros",
]
default-members = [
"desktop",
"desktop/wrapper",
"editor",
"frontend/wasm",
"libraries/dyn-any", "libraries/dyn-any",
"libraries/path-bool", "libraries/path-bool",
"libraries/math-parser", "libraries/math-parser",
] "node-graph/gapplication-io",
default-members = [
"editor",
"frontend/wasm",
"node-graph/gbrush", "node-graph/gbrush",
"node-graph/gcore", "node-graph/gcore",
"node-graph/gcore-shaders", "node-graph/gcore-shaders",
"node-graph/gstd",
"node-graph/gmath-nodes", "node-graph/gmath-nodes",
"node-graph/gpath-bool", "node-graph/gpath-bool",
"node-graph/graph-craft", "node-graph/graph-craft",
"node-graph/graphene-cli", "node-graph/graphene-cli",
"node-graph/graster-nodes", "node-graph/graster-nodes",
"node-graph/gstd",
"node-graph/gsvg-renderer", "node-graph/gsvg-renderer",
"node-graph/interpreted-executor", "node-graph/interpreted-executor",
"node-graph/node-macro", "node-graph/node-macro",
"node-graph/preprocessor",
"node-graph/wgpu-executor",
# blocked by https://github.com/rust-lang/cargo/issues/15890
# "proc-macros",
] ]
resolver = "2" resolver = "2"

View File

@ -16,7 +16,6 @@ gpu = ["graphite-editor/gpu"]
# Local dependencies # Local dependencies
graphite-editor = { path = "../../editor", features = [ graphite-editor = { path = "../../editor", features = [
"gpu", "gpu",
"ron",
"vello", "vello",
] } ] }
graphene-std = { workspace = true } graphene-std = { workspace = true }

View File

@ -16,7 +16,6 @@ wasm = ["wasm-bindgen", "graphene-std/wasm"]
gpu = ["interpreted-executor/gpu", "wgpu-executor"] gpu = ["interpreted-executor/gpu", "wgpu-executor"]
resvg = ["graphene-std/resvg"] resvg = ["graphene-std/resvg"]
vello = ["graphene-std/vello", "resvg"] vello = ["graphene-std/vello", "resvg"]
ron = []
[dependencies] [dependencies]
# Local dependencies # Local dependencies