do i dare try debian builds

This commit is contained in:
Michael Zhang 2021-03-20 04:37:58 -05:00
parent e706a252f1
commit c3905148c1
Signed by: michael
GPG key ID: BDA47A31A3C8EE6B
2 changed files with 37 additions and 0 deletions

34
.github/workflows/build-deb.yml vendored Normal file
View file

@ -0,0 +1,34 @@
on: [push]
name: build-deb
jobs:
build_deb:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: build-deb
run: |
cargo install cargo-deb
cargo deb
- uses: actions/upload-artifact@v2
with:
name: panorama.deb
path: target/debian/panorama*.deb
- uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo
# vim: set ts=2 tw=2 sw=2 et :

View file

@ -54,3 +54,6 @@ version = "0"
[features]
clippy = []
[package.metadata.deb]
depends = "$auto"