From 07bd11d9e5aa0b9e2a5021c578ef13f61d35bbcb Mon Sep 17 00:00:00 2001 From: Reion Wong Date: Tue, 31 Aug 2021 01:25:07 +0800 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 30 +++++++++++++++++++++--------- 1 file changed, 21 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b3b5188..a71b4bd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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)