-
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (24 loc) · 858 Bytes
/
ubuntu.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
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: install devscripts
run: |
sudo apt update
sudo apt full-upgrade -y
sudo DEBIAN_FRONTEND=noninteractive apt -qq -y install devscripts equivs lintian
mk-build-deps -i -s sudo -t "apt --yes --no-install-recommends"
- name: build the package
run: dpkg-buildpackage -b -rfakeroot -us -uc
- name: install the package
run: sudo dpkg -i ../goniometer*deb
- name: install package dependencies
run: sudo apt -f install
- name: run lintian
run: lintian ../goniometer*deb | lintian-info