Skip to content

Commit

Permalink
update debian package build instructions to current format (#161)
Browse files Browse the repository at this point in the history
* update debian package build instructions to current format

* change the runner to use docker container

* try if the gitlab runner likes the ubuntu image

* use the docker image name and not the github official runner name

* we don't need sudo in docker container

* run apt update first

* fix CI file

* remove obsolete build dependency in CI script

* try a rust docker image for CI

* add some more dependencies

* try -b option for dpkg-buildpackage
  • Loading branch information
timbk authored Aug 12, 2022
1 parent 7d2dc6f commit 91e6b3f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,18 @@ on:
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: sudo apt-get install devscripts build-essential lintian debhelper dh-systemd libudev-dev
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 -us -uc
dpkg-buildpackage -b -us -uc
mkdir package/
mv ../unipager_*.deb package/
- name: Push to cloudsmith.io
Expand Down
2 changes: 1 addition & 1 deletion debian/source/format
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.0 (git)
3.0 (quilt)

0 comments on commit 91e6b3f

Please sign in to comment.