2021-08-30 08:19:22 -07:00
|
|
|
name: Build
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ main ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ main ]
|
|
|
|
|
|
|
|
jobs:
|
2021-08-30 10:25:07 -07:00
|
|
|
debian:
|
|
|
|
name: Debian
|
2021-08-30 08:19:22 -07:00
|
|
|
runs-on: ubuntu-latest
|
2021-08-30 10:25:07 -07:00
|
|
|
container: docker.io/library/debian:sid
|
2021-08-30 08:19:22 -07:00
|
|
|
steps:
|
|
|
|
- name: Checkout Source
|
|
|
|
uses: actions/checkout@v2
|
2021-08-30 10:25:07 -07:00
|
|
|
- name: Update repository
|
|
|
|
run: apt-get update -y
|
|
|
|
- name: Install the basic dev packages
|
|
|
|
run: apt-get install -y equivs curl git devscripts lintian build-essential automake autotools-dev cmake g++
|
|
|
|
- name: Install build dependencies
|
|
|
|
run: mk-build-deps -i -t "apt-get --yes" -r
|
|
|
|
- name: Build Package
|
|
|
|
run: dpkg-buildpackage -b -uc -us -j$(nproc)
|
2021-08-30 09:28:21 -07:00
|
|
|
|
2021-08-30 10:25:07 -07:00
|
|
|
ubuntu:
|
|
|
|
name: Ubuntu
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout Source
|
|
|
|
uses: actions/checkout@v2
|
2021-08-30 08:19:22 -07:00
|
|
|
- name: Update repository
|
|
|
|
run: sudo apt-get update -y
|
|
|
|
- name: Install the basic dev packages
|
|
|
|
run: sudo apt-get install -y equivs curl git devscripts lintian build-essential automake autotools-dev cmake g++
|
|
|
|
- name: Install build dependencies
|
|
|
|
run: sudo mk-build-deps -i -t "apt-get --yes" -r
|
|
|
|
- name: Build Package
|
|
|
|
run: dpkg-buildpackage -b -uc -us -j$(nproc)
|
2021-09-24 17:25:19 -07:00
|
|
|
|