Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Install the protobuf compiler in release CI #328

Merged
merged 1 commit into from
Sep 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 19 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,13 @@
resolver = "2"

# Members of the workspace.
members = ["hipcheck", "hipcheck-macros", "xtask", "plugins/dummy_rand_data", "plugins/dummy_sha256"]
members = [
"hipcheck",
"hipcheck-macros",
"xtask",
"plugins/dummy_rand_data",
"plugins/dummy_sha256",
]

# Make sure Hipcheck is run with `cargo run`.
#
Expand All @@ -33,7 +39,7 @@ targets = [
"x86_64-apple-darwin",
"x86_64-unknown-linux-gnu",
"x86_64-pc-windows-msvc",
]
]
# Publish jobs to run in CI
pr-run-mode = "plan"
# Whether to install an updater program
Expand All @@ -43,6 +49,17 @@ include = ["config/", "scripts/"]
# Path that installers should place binaries in
install-path = "CARGO_HOME"

# Ubuntu build dependencies for `cargo-dist`
[workspace.metadata.dist.dependencies.apt]
protobuf-compiler = "*"

# macOS build dependencies for `cargo-dist`
[workspace.metadata.dist.dependencies.homebrew]
protobuf = "*"

# Windows build dependencies for `cargo-dist`
[workspace.metadata.dist.dependencies.chocolatey]
protoc = "*"

# The profile that 'cargo dist' will build with
[profile.dist]
Expand Down