cnping

Minimal Graphical Ping Tool
git clone https://git.sinitax.com/cnlohr/cnping
Log | Files | Refs | Submodules | README | LICENSE | sfeed.txt

commit c86848bd18036373abc1ab0459f53e1086ec5352
parent bdb93b2b9a50afbce4e7315399c4daf48bb4d46f
Author: David Auer <dreua@posteo.de>
Date:   Tue, 27 Dec 2022 02:46:59 +0100

gha: Debian build and validation (#94)

* Add package devscripts for debian build
* Add dependencies for validation
* Fix license spdx identifier
Diffstat:
M.github/workflows/build.yml | 26++++++++++++++++++++------
Mfreedesktop/com.github.cntools.cnping.metainfo.xml | 2+-
2 files changed, 21 insertions(+), 7 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml @@ -30,7 +30,10 @@ jobs: build-essential \ binutils-mingw-w64-i686 \ gcc-mingw-w64-i686 \ - g++-mingw-w64-i686 + g++-mingw-w64-i686 \ + devscripts \ + appstream \ + desktop-file-utils - name: Build run: make cnping cnping.exe @@ -39,11 +42,22 @@ jobs: with: name: cnping-exe path: "*.exe" -# - name: Validate AppStream data -# run: appstreamcli validate /usr/share/metainfo/ ... .metainfo.xml -# - name: Validate desktop file -# run: desktop-file-validate /usr/share/applications/ ... .desktop - + + - name: Build deb + run: debuild --no-sign + + - uses: actions/upload-artifact@v3 + with: + name: cnping-debian + path: | + /home/runner/work/cnping/*.deb + /home/runner/work/cnping/*.ddeb + + - name: Validate AppStream data + run: appstreamcli validate freedesktop/com.github.cntools.cnping.metainfo.xml + - name: Validate desktop file + run: desktop-file-validate freedesktop/com.github.cntools.cnping.desktop + # Build-RPM-for-Fedora: # runs-on: ubuntu-latest # container: dreua/ ... diff --git a/freedesktop/com.github.cntools.cnping.metainfo.xml b/freedesktop/com.github.cntools.cnping.metainfo.xml @@ -30,6 +30,6 @@ as an overlay. <releases><!-- add new versions on top --> <release date="2019-10-04" version="1.0.0"/> </releases> - <project_license>MIT or BSD</project_license> + <project_license>MIT or BSD-3-Clause</project_license> <url type="bugtracker">https://github.com/cntools/cnping/issues</url> </component>