Add build debian-pkg job

This commit is contained in:
Malik Mlitat
2022-10-23 11:49:00 +02:00
parent da7f75f0eb
commit 93e9817b4f
2 changed files with 26 additions and 0 deletions
+24
View File
@@ -70,3 +70,27 @@ jobs:
files: |
src/build/seergdb.tar.gz
debian-pkg:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install build dependencies
run: |
sudo apt-get -y install devscripts build-essential dpkg-dev equivs
sudo mk-build-deps --install --tool='apt-get -o Debug::pkgProblemResolver=yes --no-install-recommends --yes' debian/control
- name: Build Debian package
run: dpkg-buildpackage --unsigned-source --unsigned-changes
- name: Upload debian package Release
uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
automatic_release_tag: "debian-pkg-latest"
prerelease: true
title: "Debian Package Release"
files: |
../seergdb_*_amd64.deb
+2
View File
@@ -193,6 +193,8 @@ qt5_add_resources(SOURCE_FILES resource.qrc)
if(NOT CMAKE_BUILD_TYPE MATCHES Debug) #Release, RelWithDebInfo and MinSizeRel
if(WIN32) # Check if we are on Windows
set(SYSTEM_TYPE WIN32)
else() # UNIX
set(SYSTEM_TYPE EXCLUDE_FROM_ALL)
endif()
message("System type is " ${SYSTEM_TYPE})
endif()