-
Notifications
You must be signed in to change notification settings - Fork 1
41 lines (39 loc) · 1.16 KB
/
deb.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
on:
push:
branches:
- 'master'
name: 'Package: Debian GNU + Linux (x86_64)'
jobs:
deb_x86-64:
name: Debian GNU + Linux (x86_64)
runs-on: ubuntu-latest
steps:
- name: Checkout codebase
uses: actions/checkout@v3
- name: Install development dependencies
run: |
sudo apt-get update > /dev/null
sudo apt-get install -qq libssl-dev build-essential > /dev/null
- name: Setup Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
target: x86_64-unknown-linux-gnu
default: true
profile: minimal
- name: Install 'cargo-deb'
uses: actions-rs/cargo@v1
with:
command: install
args: cargo-deb
- name: Build & package depi
uses: actions-rs/cargo@v1
with:
command: deb
args: --separate-debug-symbols -- --target x86_64-unknown-linux-gnu
- name: Upload depi build artifact to GitHub
uses: actions/upload-artifact@v3
with:
name: x86_64-depi.deb.gnu+linux
path: ./target/debian/depi_*_amd64.deb
if-no-files-found: error