do i dare try debian builds
This commit is contained in:
parent
e706a252f1
commit
c3905148c1
2 changed files with 37 additions and 0 deletions
34
.github/workflows/build-deb.yml
vendored
Normal file
34
.github/workflows/build-deb.yml
vendored
Normal 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 :
|
|
@ -54,3 +54,6 @@ version = "0"
|
|||
|
||||
[features]
|
||||
clippy = []
|
||||
|
||||
[package.metadata.deb]
|
||||
depends = "$auto"
|
||||
|
|
Loading…
Reference in a new issue