mirror of https://github.com/cutefishos/texteditor
Merge 94753462ac into d7e038e300
commit
a9be166563
@ -0,0 +1,52 @@
|
||||
name: Build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
Ubuntu:
|
||||
name: Ubuntu latest build
|
||||
runs-on: ubuntu-latest
|
||||
permissions: write-all
|
||||
|
||||
steps:
|
||||
- name: Checkout Source
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Add Simple Linux DE repository
|
||||
run : |
|
||||
sudo mkdir -p /etc/apt/sources.list.d
|
||||
sudo bash -c "echo 'deb [trusted=yes] https://gitcode.net/simple-linux-de/debserver/-/raw/master unstable main contrib non-free' > /etc/apt/sources.list.d/simplelinux.list"
|
||||
|
||||
- name: Update repository
|
||||
run: sudo apt update -y
|
||||
|
||||
- name: Install the basic dev packages
|
||||
|
||||
run: sudo apt install -y equivs curl git devscripts lintian build-essential automake autotools-dev cmake g++ cutefish-core cutefish-kwin-plugins cutefish-qt-plugins fishui libcutefish
|
||||
|
||||
- name: Install build dependencies
|
||||
run: sudo mk-build-deps -i -t "apt-get --yes" -r
|
||||
|
||||
- name: Build Package
|
||||
run: sudo dpkg-buildpackage -b -uc -us -nc -tc -j$(nproc)
|
||||
|
||||
- name: Get current date
|
||||
id: date
|
||||
run: echo "::set-output name=today::$(date +'%Y-%m-%d-%s')"
|
||||
|
||||
- name: Upload build
|
||||
uses: "marvinpinto/action-automatic-releases@latest"
|
||||
with:
|
||||
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
automatic_release_tag: "autobuild"
|
||||
prerelease: true
|
||||
title: "Development Build ${{ steps.date.outputs.today }}"
|
||||
files: |
|
||||
../**/*.deb
|
||||
../**/*.ddeb
|
||||
../**/*.buildinfo
|
||||
../**/*.changes
|
||||
@ -1,14 +1,35 @@
|
||||
Source: texteditor
|
||||
Section: devel
|
||||
Priority: optional
|
||||
Maintainer: CutefishOS <cutefishos@foxmail.com>
|
||||
Maintainer: The Simple Linux DE Develop Group <simplelinux@latex.ga>
|
||||
Build-Depends: cmake,
|
||||
debhelper (>= 9),
|
||||
libkf5syntaxhighlighting-dev
|
||||
libkf5syntaxhighlighting-dev,
|
||||
extra-cmake-modules,
|
||||
qtbase5-dev,
|
||||
qtdeclarative5-dev,
|
||||
qtquickcontrols2-5-dev,
|
||||
qttools5-dev,
|
||||
qttools5-dev-tools,
|
||||
fishui,
|
||||
libcutefish
|
||||
Standards-Version: 4.5.0
|
||||
Homepage: https://github.com/cutefishos/texteditor
|
||||
Homepage: https://github.com/Simple-Linux-DE/texteditor
|
||||
|
||||
Package: texteditor
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||
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,
|
||||
qml-module-qtgraphicaleffects,
|
||||
fishui,
|
||||
libcutefish,
|
||||
${shlibs:Depends},
|
||||
${misc:Depends}
|
||||
Description: CutefishOS Texteditor
|
||||
|
||||
@ -1 +1 @@
|
||||
3.0 (quilt)
|
||||
3.0 (quilt)
|
||||
Loading…
Reference in New Issue