feature(build): add a custom github ci build #88

Closed
PatrykHegenberg wants to merge 3 commits from dev/release-test into main
2 changed files with 18 additions and 5 deletions
Showing only changes of commit e7f576bff6 - Show all commits

5
Cargo.lock generated
View file

@ -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"

View file

@ -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"