mirror of https://github.com/cutefishos/calculator
Add github ci
parent
944da16ce3
commit
9f18958ae0
@ -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)
|
||||||
@ -0,0 +1,5 @@
|
|||||||
|
cutefish-calculator (0.1) UNRELEASED; urgency=low
|
||||||
|
|
||||||
|
* Initial release (CutefishOS) <cutefishos@foxmail.com>
|
||||||
|
|
||||||
|
-- CutefishOS <cutefishos@foxmail.com> Thu, 16 Oct 2014 17:22:15 +0200
|
||||||
@ -0,0 +1 @@
|
|||||||
|
9
|
||||||
@ -0,0 +1,29 @@
|
|||||||
|
Source: cutefish-calculator
|
||||||
|
Section: devel
|
||||||
|
Priority: optional
|
||||||
|
Maintainer: CutefishOS <cutefishos@foxmail.com>
|
||||||
|
Build-Depends: cmake,
|
||||||
|
debhelper (>= 9),
|
||||||
|
extra-cmake-modules,
|
||||||
|
qtbase5-dev,
|
||||||
|
qtdeclarative5-dev,
|
||||||
|
qtquickcontrols2-5-dev,
|
||||||
|
qttools5-dev,
|
||||||
|
qttools5-dev-tools
|
||||||
|
Standards-Version: 4.5.0
|
||||||
|
Homepage: https://github.com/cutefishos/calculator
|
||||||
|
|
||||||
|
Package: cutefish-calculator
|
||||||
|
Architecture: any
|
||||||
|
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 Calculator
|
||||||
@ -0,0 +1,3 @@
|
|||||||
|
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||||
|
Upstream-Name: cutefish-calculator
|
||||||
|
Source: <url://example.com>
|
||||||
@ -0,0 +1,9 @@
|
|||||||
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
|
export QT_SELECT=5
|
||||||
|
|
||||||
|
%:
|
||||||
|
dh $@
|
||||||
|
|
||||||
|
override_dh_auto_configure:
|
||||||
|
dh_auto_configure -- -DEMBED_TRANSLATIONS=ON -DBUILD_TESTING=ON
|
||||||
@ -0,0 +1 @@
|
|||||||
|
3.0 (quilt)
|
||||||
Loading…
Reference in New Issue