Add github CI

pull/5/head
reionwong 4 years ago
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)

28
debian/control vendored

@ -5,23 +5,27 @@ Maintainer: CutefishOS <cutefishos@foxmail.com>
Build-Depends: cmake,
debhelper (>= 9),
extra-cmake-modules,
libkf5networkmanagerqt-dev,
libkf5kio-dev,
libkf5screen-dev,
libkf5bluezqt-dev,
modemmanager-qt-dev,
libqt5sensors5-dev,
qtbase5-dev,
qtdeclarative5-dev,
qtquickcontrols2-5-dev,
qttools5-dev,
qttools5-dev-tools
qttools5-dev-tools,
libpam0g-dev,
libx11-dev
Standards-Version: 4.5.0
Homepage: https://github.com/cutefishos/libcutefish
Homepage: https://github.com/cutefishos/screenlocker
Package: libcutefish
Architecture: any
Depends: ${misc:Depends},
${shlibs:Depends},
libkf5screen-bin
Description: CutefishOS Library
Depends: qml-module-qtquick-controls2,
qml-module-qtquick2,
qml-module-qtquick-layouts,
qml-module-qt-labs-platform,
qml-module-qt-labs-settings,
qml-module-qtqml,
qml-module-qtquick-window2,
qml-module-qtquick-shapes,
qml-module-qtquick-dialogs,
${misc:Depends},
${shlibs:Depends}
Description: CutefishOS Screen Locker

4
debian/copyright vendored

@ -1,3 +1,3 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: calamares
Source: <url://example.com>
Upstream-Name: libcutefish
Source: https://github.com/cutefishos/libcutefish

Loading…
Cancel
Save