-
Notifications
You must be signed in to change notification settings - Fork 28
36 lines (36 loc) · 975 Bytes
/
debian.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
name: Debian Package for ARM
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
build:
runs-on: [linux, ARM]
container:
# image: ubuntu:latest
image: rust:1.63-bullseye
steps:
- name: Update packet sources
run: apt update -y
- name: Install dependencies
run: apt install -y devscripts build-essential lintian debhelper libudev-dev cargo dh-cargo rustc
- uses: actions/checkout@v2
- name: Build debian package
run: |
dpkg-buildpackage -b -us -uc
mkdir package/
mv ../unipager_*.deb package/
- name: Push to cloudsmith.io
uses: cloudsmith-io/action@master
with:
api-key: ${{ secrets.CLOUDSMITH_API_KEY }}
command: 'push'
format: 'deb'
owner: 'rwth-afu'
repo: 'unipager'
distro: 'raspbian'
release: 'buster'
republish: 'true'
file: './package/*.deb'