From 253cfd16ff59717bfab9be37ab24f77e4133ad98 Mon Sep 17 00:00:00 2001 From: Yinan Qin Date: Tue, 31 Jan 2023 19:53:29 +0800 Subject: [PATCH] Update build. --- .github/workflows/build.yml | 52 +++++++++++++++++++++++++++++++++++++ debian/changelog | 6 +++++ debian/control | 6 ++--- debian/copyright | 2 +- 4 files changed, 62 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..c7ce2d4 --- /dev/null +++ b/.github/workflows/build.yml @@ -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 \ No newline at end of file diff --git a/debian/changelog b/debian/changelog index 311c8af..febd2da 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +texteditor (0.8-alpha1) UNRELEASED; urgency=low + + * Move Project to Simple Linux DE + + -- The Simple Linux DE Develop Group Mon, 30 Jan 2023 00:00:00 +0800 + texteditor (0.7-1) UNRELEASED; urgency=medium * Initial Release. diff --git a/debian/control b/debian/control index 30028e8..fce0089 100644 --- a/debian/control +++ b/debian/control @@ -1,12 +1,12 @@ Source: texteditor Section: devel Priority: optional -Maintainer: CutefishOS +Maintainer: The Simple Linux DE Develop Group Build-Depends: cmake, debhelper (>= 9), - libkf5syntaxhighlighting-dev + libkf5syntaxhighlighting-dev Standards-Version: 4.5.0 -Homepage: https://github.com/cutefishos/texteditor +Homepage: https://github.com/Simple-Linux-DE/texteditor Package: texteditor Architecture: any diff --git a/debian/copyright b/debian/copyright index 1890d22..74bb87e 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,7 +1,7 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: texteditor-0.7 Upstream-Contact: -Source: +Source: https://github.com/Simple-Linux-DE Files: * Copyright: