Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Avoid extra build step (#64919)

Kirill Bulatoveb1ca9768b4d
diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml
index 0ec33cb5cd3..90825a48c0d 100644
--- a/.github/workflows/run_tests.yml
+++ b/.github/workflows/run_tests.yml
@@ -614,10 +614,8 @@ jobs:
SCCACHE_BUCKET: sccache-zed
- name: cargo build -p collab
run: cargo build -p collab
- - name: cargo build --workspace --bins --examples
- run: cargo build --workspace --bins --examples
- - name: cargo build -p project_benchmarks --features test-support
- run: cargo build -p project_benchmarks --features test-support
+ - name: cargo build --workspace --bins --examples --features project_benchmarks/test-support
+ run: cargo build --workspace --bins --examples --features project_benchmarks/test-support
- name: steps::show_sccache_stats
run: sccache --show-stats || true
- name: steps::cleanup_cargo_config
diff --git a/tooling/xtask/src/tasks/workflows/run_tests.rs b/tooling/xtask/src/tasks/workflows/run_tests.rs
index 87e8152f231..02a585d8138 100644
--- a/tooling/xtask/src/tasks/workflows/run_tests.rs
+++ b/tooling/xtask/src/tasks/workflows/run_tests.rs
@@ -612,9 +612,8 @@ fn check_workspace_binaries() -> NamedJob {
.map(steps::install_linux_dependencies)
.add_step(steps::setup_sccache(Platform::Linux))
.add_step(steps::script("cargo build -p collab"))
- .add_step(steps::script("cargo build --workspace --bins --examples"))
.add_step(steps::script(
- "cargo build -p project_benchmarks --features test-support",
+ "cargo build --workspace --bins --examples --features project_benchmarks/test-support",
))
.add_step(steps::show_sccache_stats(Platform::Linux))
.add_step(steps::cleanup_cargo_config(Platform::Linux)),