Update build.yml
This commit is contained in:
parent
68442e5280
commit
3d1e44c7e3
1 changed files with 21 additions and 9 deletions
30
.github/workflows/build.yml
vendored
30
.github/workflows/build.yml
vendored
|
@ -7,21 +7,33 @@ on:
|
|||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
debian:
|
||||
name: Debian
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
container: docker.io/library/debian:sid
|
||||
steps:
|
||||
- name: Checkout Source
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Update repository
|
||||
run: sudo apt-get update -y
|
||||
|
||||
run: 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++
|
||||
|
||||
run: 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
|
||||
|
||||
run: mk-build-deps -i -t "apt-get --yes" -r
|
||||
- name: Build Package
|
||||
run: dpkg-buildpackage -b -uc -us -j$(nproc)
|
||||
|
||||
ubuntu:
|
||||
name: Ubuntu
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Source
|
||||
uses: actions/checkout@v2
|
||||
- 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)
|
||||
|
|
Loading…
Reference in a new issue