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

Add wip-build-and-publish-debian workflow #725

Closed
Show file tree
Hide file tree
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
20 changes: 20 additions & 0 deletions .github/workflows/build-and-publish-debian.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Build & publish Debian packages

on:
workflow_dispatch:
inputs:
branch:
type: string
required: true
version:
type: string
required: true

jobs:
main:
uses: ZettaScaleLabs/ci/.github/workflows/build-and-publish-perif-debian.yml@staging
with:
repo: ${{ github.repository }}
branch: ${{ inputs.branch }}
version: ${{ inputs.version }}
secrets: inherit
15 changes: 0 additions & 15 deletions examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,21 +58,6 @@ rand = { workspace = true, features = ["default"] }
[build-dependencies]
rustc_version = { workspace = true }

[package.metadata.deb]
name = "zenohd"
maintainer = "[email protected]"
copyright = "2022 ZettaScale Technology"
section = "net"
license-file = ["../LICENSE", "0"]
depends = "$auto"
maintainer-scripts = "zenoh/.deb"
assets = [
# binary
["target/release/zenohd", "/usr/bin/", "755"],
# service
[".service/zenohd.service", "/lib/systemd/system/zenohd.service", "644"],
]

[[example]]
name = "z_scout"
path = "examples/z_scout.rs"
Expand Down