-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Preparing to use 'dist' for more releases.
This relies on the upgrade to the latest version of 'dist'. Since we now have plugins that we want to produce pre-built binaries for, this updates our build configuration to support that. It'll need to be tested. Signed-off-by: Andrew Lilley Brinker <[email protected]>
- Loading branch information
1 parent
54eef22
commit 8be06d2
Showing
32 changed files
with
338 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
[workspace] | ||
|
||
# All the packages which 'cargo-dist' is responsible for. | ||
# This is _only_ the binary packages in the overall project, so it excludes | ||
# libraries including any SDKs and our supporting libraries. | ||
members = [ | ||
"cargo:hipcheck", | ||
"cargo:plugins/activity", | ||
"cargo:plugins/affiliation", | ||
"cargo:plugins/binary", | ||
"cargo:plugins/churn", | ||
"cargo:plugins/entropy", | ||
"cargo:plugins/fuzz", | ||
"cargo:plugins/git", | ||
"cargo:plugins/github", | ||
"cargo:plugins/identity", | ||
"cargo:plugins/linguist", | ||
"cargo:plugins/npm", | ||
"cargo:plugins/review", | ||
"cargo:plugins/typo", | ||
] | ||
|
||
[dist] | ||
|
||
cargo-dist-version = "0.25.1" | ||
ci = "github" | ||
pr-run-mode = "plan" | ||
install-path = ["~/.local/bin", "~/.hipcheck/bin"] | ||
targets = [ | ||
"aarch64-apple-darwin", | ||
"x86_64-apple-darwin", | ||
"x86_64-unknown-linux-gnu", | ||
"x86_64-pc-windows-msvc", | ||
] | ||
|
||
# Make sure that both Hipcheck and all the plugins are built with the protobuf | ||
# compiler present on their platform. | ||
|
||
[dist.dependencies.apt] | ||
protobuf-compiler = "*" | ||
|
||
[dist.dependencies.homebrew] | ||
protobuf = "*" | ||
|
||
[dist.dependencies.chocolatey] | ||
protoc = "*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
|
||
[dist] | ||
|
||
# Make sure that 'dist' will handle releases for this. Otherwise, since | ||
# the crate is set to 'publish = false', 'dist' would ignore it by default. | ||
dist = true | ||
|
||
# For now we'll only use these installers. In the future we might add others. | ||
installers = ["shell", "powershell"] | ||
|
||
# Yes we want the updater. | ||
install-updater = true | ||
|
||
# Make sure to include the configuration. | ||
include = ["../config/"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
|
||
[dist] | ||
|
||
# Make sure that 'dist' will handle releases for this. Otherwise, since | ||
# the crate is set to 'publish = false', 'dist' would ignore it by default. | ||
dist = true | ||
|
||
# We explicitly *don't* want 'dist' to produce installers; just to prebuild | ||
# the binaries for us and bundle everything together. Hipcheck itself will | ||
# handle people getting the prebuilt binaries based on the download manifest. | ||
installers = [] | ||
|
||
# Make sure to include the plugin manifest. | ||
include = ["plugin.kdl"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
|
||
[dist] | ||
|
||
# Make sure that 'dist' will handle releases for this. Otherwise, since | ||
# the crate is set to 'publish = false', 'dist' would ignore it by default. | ||
dist = true | ||
|
||
# We explicitly *don't* want 'dist' to produce installers; just to prebuild | ||
# the binaries for us and bundle everything together. Hipcheck itself will | ||
# handle people getting the prebuilt binaries based on the download manifest. | ||
installers = [] | ||
|
||
# Make sure to include the plugin manifest. | ||
include = ["plugin.kdl"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
|
||
[dist] | ||
|
||
# Make sure that 'dist' will handle releases for this. Otherwise, since | ||
# the crate is set to 'publish = false', 'dist' would ignore it by default. | ||
dist = true | ||
|
||
# We explicitly *don't* want 'dist' to produce installers; just to prebuild | ||
# the binaries for us and bundle everything together. Hipcheck itself will | ||
# handle people getting the prebuilt binaries based on the download manifest. | ||
installers = [] | ||
|
||
# Make sure to include the plugin manifest. | ||
include = ["plugin.kdl"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
|
||
[dist] | ||
|
||
# Make sure that 'dist' will handle releases for this. Otherwise, since | ||
# the crate is set to 'publish = false', 'dist' would ignore it by default. | ||
dist = true | ||
|
||
# We explicitly *don't* want 'dist' to produce installers; just to prebuild | ||
# the binaries for us and bundle everything together. Hipcheck itself will | ||
# handle people getting the prebuilt binaries based on the download manifest. | ||
installers = [] | ||
|
||
# Make sure to include the plugin manifest. | ||
include = ["plugin.kdl"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
|
||
[dist] | ||
|
||
# Make sure that 'dist' will handle releases for this. Otherwise, since | ||
# the crate is set to 'publish = false', 'dist' would ignore it by default. | ||
dist = true | ||
|
||
# We explicitly *don't* want 'dist' to produce installers; just to prebuild | ||
# the binaries for us and bundle everything together. Hipcheck itself will | ||
# handle people getting the prebuilt binaries based on the download manifest. | ||
installers = [] | ||
|
||
# Make sure to include the plugin manifest. | ||
include = ["plugin.kdl"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
|
||
[dist] | ||
|
||
# Make sure that 'dist' will handle releases for this. Otherwise, since | ||
# the crate is set to 'publish = false', 'dist' would ignore it by default. | ||
dist = true | ||
|
||
# We explicitly *don't* want 'dist' to produce installers; just to prebuild | ||
# the binaries for us and bundle everything together. Hipcheck itself will | ||
# handle people getting the prebuilt binaries based on the download manifest. | ||
installers = [] | ||
|
||
# Make sure to include the plugin manifest. | ||
include = ["plugin.kdl"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
|
||
[dist] | ||
|
||
# Make sure that 'dist' will handle releases for this. Otherwise, since | ||
# the crate is set to 'publish = false', 'dist' would ignore it by default. | ||
dist = true | ||
|
||
# We explicitly *don't* want 'dist' to produce installers; just to prebuild | ||
# the binaries for us and bundle everything together. Hipcheck itself will | ||
# handle people getting the prebuilt binaries based on the download manifest. | ||
installers = [] | ||
|
||
# Make sure to include the plugin manifest. | ||
include = ["plugin.kdl"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
|
||
[dist] | ||
|
||
# Make sure that 'dist' will handle releases for this. Otherwise, since | ||
# the crate is set to 'publish = false', 'dist' would ignore it by default. | ||
dist = true | ||
|
||
# We explicitly *don't* want 'dist' to produce installers; just to prebuild | ||
# the binaries for us and bundle everything together. Hipcheck itself will | ||
# handle people getting the prebuilt binaries based on the download manifest. | ||
installers = [] | ||
|
||
# Make sure to include the plugin manifest. | ||
include = ["plugin.kdl"] |
Oops, something went wrong.