-
Notifications
You must be signed in to change notification settings - Fork 6
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
07ddf5d
commit b180fd0
Showing
47 changed files
with
413 additions
and
156 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
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,21 @@ | ||
[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:."] | ||
|
||
# Config for 'dist' | ||
[dist] | ||
# The preferred dist version to use in CI (Cargo.toml SemVer syntax) | ||
cargo-dist-version = "0.26.0-prerelease.2" | ||
# CI backends to support | ||
ci = "github" | ||
# Which actions to run on pull requests | ||
pr-run-mode = "plan" | ||
# Path that installers should place binaries in | ||
install-path = ["~/.local/bin", "~/.hipcheck/bin"] | ||
# Target platforms to build apps for (Rust target-triple syntax) | ||
targets = ["aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-pc-windows-msvc"] | ||
# The installers to generate for each app | ||
installers = [] |
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,27 @@ | ||
|
||
[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 | ||
|
||
# The installers to generate for each app | ||
installers = ["shell", "powershell"] | ||
|
||
# Whether to install an updater program | ||
install-updater = true | ||
|
||
# Make sure to include the configuration. | ||
include = ["../config/"] | ||
|
||
# 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,17 @@ | ||
|
||
[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 = [] | ||
|
||
# Do not install an updater. | ||
install-updater = false | ||
|
||
# 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
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,17 @@ | ||
|
||
[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 = [] | ||
|
||
# Do not install an updater. | ||
install-updater = false | ||
|
||
# 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
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,17 @@ | ||
|
||
[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 = [] | ||
|
||
# Do not install an updater. | ||
install-updater = false | ||
|
||
# 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
Oops, something went wrong.