feature(build): add a custom github ci build #88
2 changed files with 18 additions and 5 deletions
5
Cargo.lock
generated
5
Cargo.lock
generated
|
|
@ -413,6 +413,7 @@ dependencies = [
|
|||
"axum-client-ip",
|
||||
"axum-extra",
|
||||
"base64 0.22.0",
|
||||
"cc",
|
||||
"clap 4.5.4",
|
||||
"dotenv",
|
||||
"dotenvy",
|
||||
|
|
@ -448,9 +449,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "cc"
|
||||
version = "1.0.95"
|
||||
version = "1.0.96"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "d32a725bc159af97c3e629873bb9f88fb8cf8a4867175f76dc987815ea07c83b"
|
||||
checksum = "065a29261d53ba54260972629f9ca6bffa69bac13cd1fed61420f7fa68b9f8bd"
|
||||
|
||||
[[package]]
|
||||
name = "cfg-if"
|
||||
|
|
|
|||
18
Cargo.toml
18
Cargo.toml
|
|
@ -56,6 +56,7 @@ hex = "0.4.3"
|
|||
|
||||
[build-dependencies]
|
||||
prost-build = "0.12.4"
|
||||
cc = "1.0.96"
|
||||
|
||||
# The profile that 'cargo dist' will build with
|
||||
[profile.dist]
|
||||
|
|
@ -81,10 +82,21 @@ targets = [
|
|||
pr-run-mode = "plan"
|
||||
|
||||
[workspace.metadata.dist.dependecies.homebrew]
|
||||
protobuf = "*"
|
||||
protobuf = { version = "*", stage = ["build"] }
|
||||
gcc = { version = "*", stage = ["build"] }
|
||||
cmake = { version = "*", stage = ["build"] }
|
||||
make = { version = "*", stage = ["build"] }
|
||||
llvm = { version = "*", stage = ["build"] }
|
||||
libcue = { version = "*", stage = ["build"] }
|
||||
|
||||
[workspace.metadata.dist.dependecies.apt]
|
||||
protobuf-compile = "*"
|
||||
protobuf-compile = { version = "*", stage = ["build"] }
|
||||
|
||||
[workspace.metadata.dist.dependecies.chocolatey]
|
||||
protoc = "*"
|
||||
protoc = { version = "*", stage = ["build"] }
|
||||
|
||||
[workspace.metadata.dist.custom-runners]
|
||||
aarch64-apple-darwin = "macos-latest"
|
||||
x86_64-apple-darwin = "macos-12"
|
||||
x86_64-unknown-linux-gnu = "ubuntu-latest"
|
||||
x86_64-pc-windows-msvc = "windows-latest"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue