Update build.yml

pull/10/head
Reion Wong 4 years ago committed by GitHub
parent 2360dd4904
commit c5adfb3558
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -7,21 +7,33 @@ on:
branches: [ main ] branches: [ main ]
jobs: jobs:
build: debian:
name: Debian
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: docker.io/library/debian:sid
steps: steps:
- name: Checkout Source - name: Checkout Source
uses: actions/checkout@v2 uses: actions/checkout@v2
- 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)
ubuntu:
name: Ubuntu
runs-on: ubuntu-latest
steps:
- name: Checkout Source
uses: actions/checkout@v2
- name: Update repository - name: Update repository
run: sudo apt-get update -y run: sudo apt-get update -y
- name: Install the basic dev packages - 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: sudo apt-get install -y equivs curl git devscripts lintian build-essential automake autotools-dev cmake g++
- name: Install build dependencies - name: Install build dependencies
run: sudo mk-build-deps -i -t "apt-get --yes" -r run: sudo mk-build-deps -i -t "apt-get --yes" -r
- name: Build Package
- name: Build run: dpkg-buildpackage -b -uc -us -j$(nproc)
run: mkdir build; cd build; cmake .. ; make -j$(nproc);

Loading…
Cancel
Save