Add github ci

main
reionwong 4 years ago
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)

5
debian/changelog vendored

@ -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

1
debian/compat vendored

@ -0,0 +1 @@
9

29
debian/control vendored

@ -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

3
debian/copyright vendored

@ -0,0 +1,3 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: cutefish-calculator
Source: <url://example.com>

9
debian/rules vendored

@ -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)

@ -52,12 +52,13 @@ Item {
id: _icon
anchors.horizontalCenter: parent.horizontalCenter
anchors.verticalCenter: parent.verticalCenter
width: control.height * 0.4
width: control.height * 0.45
height: width
sourceSize: Qt.size(width, height)
source: control.icon ? control.icon : ""
visible: _icon.status === Image.Ready
smooth: false
antialiasing: true
}
Label {

@ -14,7 +14,7 @@ FishUI.Window {
background.color: FishUI.Theme.darkMode ? Qt.rgba(46 / 255, 46 / 255, 46 / 255, 1.0)
: Qt.rgba(240 / 255, 238 / 255, 241 / 255, 1.0)
background.opacity: rootWindow.compositing ? 0.9 : 1.0
background.opacity: rootWindow.compositing ? 0.95 : 1.0
FishUI.WindowBlur {
view: rootWindow
@ -49,7 +49,7 @@ FishUI.Window {
z: -1
anchors.fill: parent
color: FishUI.Theme.secondBackgroundColor
opacity: 0.4
opacity: 0.8
}
onPressed: zone.appendToTextField(text)

Loading…
Cancel
Save