Skip to content

Commit

Permalink
fix(ci/release): add apt dependencies to dist config
Browse files Browse the repository at this point in the history
  • Loading branch information
snormore committed Jun 1, 2024
1 parent a3fb9b5 commit 376ee3f
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,12 @@ ci = "github"
# The installers to generate for each app
installers = ["shell"]
# Target platforms to build apps for (Rust target-triple syntax)
targets = ["aarch64-apple-darwin", "x86_64-unknown-linux-gnu"]
# https://doc.rust-lang.org/nightly/rustc/platform-support.html
targets = [
# "aarch64-apple-darwin",
# "aarch64-unknown-linux-gnu",
"x86_64-unknown-linux-gnu",
]
# Publish jobs to run in CI
pr-run-mode = "plan"
# Whether to install an updater program
Expand All @@ -108,6 +113,14 @@ allow-dirty = ["ci"]
# Specifies that all features for a package should be enabled when building it.
all-features = true

[workspace.metadata.dist.dependencies.apt]
build-essential = '*'
gcc-10 = '*'
cmake = '*'
clang = '*'
pkg-config = '*'


# Since MystenLabs uses Hakari in the sui repository, and we bring narwhal in from there, this
# results into all of their dependencies and packages to be listed in their workspace-hack crate.
# That adds a huge amount of unwanted dependencies to our crate. The `empty-workspace-hack` is an
Expand Down

0 comments on commit 376ee3f

Please sign in to comment.