Add github CI
parent
4caad74b49
commit
1cd2e5f5d1
@ -0,0 +1,39 @@
|
|||||||
|
name: Build
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ main ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ main ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
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: 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
|
||||||
|
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)
|
@ -1,3 +1,3 @@
|
|||||||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||||
Upstream-Name: calamares
|
Upstream-Name: libcutefish
|
||||||
Source: <url://example.com>
|
Source: https://github.com/cutefishos/libcutefish
|
||||||
|
Loading…
Reference in New Issue