Skip to content

Commit

Permalink
don't build workspace-hack on madsim
Browse files Browse the repository at this point in the history
Signed-off-by: Runji Wang <wangrunji0408@163.com>
  • Loading branch information
wangrunji0408 committed Sep 15, 2023
1 parent 136625c commit 96e4b8a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 12 additions & 1 deletion Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -946,7 +946,18 @@ set -e
cargo check \
--config "target.'cfg(all())'.rustflags = ['--cfg=madsim']" \
-p risingwave_simulation --all-targets "$@"
-p risingwave_batch \
-p risingwave_common \
-p risingwave_compute \
-p risingwave_connector \
-p risingwave_frontend \
-p risingwave_meta \
-p risingwave_object_store \
-p risingwave_source \
-p risingwave_storage \
-p risingwave_stream \
-p pgwire \
-p risingwave_simulation --tests "$@"
"""

[tasks.sslt]
Expand Down
2 changes: 2 additions & 0 deletions src/test_runner/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ normal = ["workspace-hack"]
[dependencies]
fail = "0.5"
sync-point = { path = "../utils/sync-point" }

[target.'cfg(not(madsim))'.dependencies]
workspace-hack = { path = "../workspace-hack" }

[lints]
Expand Down

0 comments on commit 96e4b8a

Please sign in to comment.