Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
attempt auto-build of Debian packages with github actions
- Loading branch information
Showing
5 changed files
with
48 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Debian CI | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: update | ||
run: sudo apt-get update | ||
- name: set timezone | ||
run: sudo ln -fs /usr/share/zoneinfo/America/Chicago /etc/localtime | ||
# - name: install latex dependencies | ||
# run: DEBIAN_FRONTEND="noninteractive" sudo apt-get install -q -y --force-yes texlive-luatex texlive-latex-recommended texlive-latex-extra texlive-fonts-extra texlive-fonts-extra-links texlive-bibtex-extra biber | ||
- name: install dependencies | ||
run: DEBIAN_FRONTEND="noninteractive" sudo apt-get install -q -y --force-yes qt5-default libtidy-dev libzip-dev cmake g++ debhelper dpkg-dev | ||
- name: download libxlsxwriter | ||
run: pushd /tmp && wget https://github.com/jmcnamara/libxlsxwriter/archive/RELEASE_1.0.0.tar.gz && tar -zxf RELEASE_1.0.0.tar.gz && popd | ||
- name: build libxlsxwriter | ||
run: pushd /tmp/libxlsxwriter-RELEASE_1.0.0 && echo -e "SET(CPACK_GENERATOR \"DEB\")\nset(CPACK_PACKAGE_NAME \"libxlsxwriter\")\nSET(CPACK_DEBIAN_PACKAGE_MAINTAINER \"jwh0011@auburn.edu\")\nset(CPACK_PACKAGE_VERSION \"1.0.0\")\nINCLUDE(CPack)" >> CMakeLists.txt && cmake ./ && make -j3 && cpack && popd | ||
- name: install libxlsxwriter | ||
run: sudo dpkg -i /tmp/libxlsxwriter-RELEASE_1.0.0/libxlsxwriter-1.0.0-Linux.deb | ||
- name: build tarball | ||
run: git archive --format=tar.gz -o ../stigqter_1.1.0.orig.tar.gz master | ||
- name: dpkg-buildpackage | ||
run: dpkg-buildpackage --no-sign | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
name: STIGQter Debian Package | ||
path: | | ||
/tmp/libxlsxwriter-RELEASE_1.0.0/libxlsxwriter-1.0.0-Linux.deb | ||
../stigqter_1.1.0-1_all.deb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,5 @@ | ||
stigqter (1.0.2-1) stable; urgency=low | ||
stigqter (1.1.0-1) stable; urgency=medium | ||
|
||
* Enhancement Release. | ||
* Bugfix Release | ||
|
||
-- Jon Hood <jwh0011@auburn.edu> Wed, 15 Dec 2020 13:34:00 -0600 | ||
|
||
stigqter (1.0.1-1) stable; urgency=low | ||
|
||
* Bug fix release. | ||
|
||
-- Jon Hood <jwh0011@auburn.edu> Fri, 31 Jan 2020 10:33:02 -0600 | ||
|
||
stigqter (1.0.0-1) stable; urgency=low | ||
|
||
* Initial Release. Testing .deb packaging and automation. | ||
|
||
-- Jon Hood <jwh0011@auburn.edu> Mon, 25 Nov 2019 13:05:03 -0600 | ||
-- Jon Hood <jwh0011@auburn.edu> Wed, 24 Feb 2021 22:24:27 -0600 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
9 | ||
12 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,7 @@ export QT_SELECT := qt5 | |
|
||
%: | ||
dh $@ | ||
|
||
#override_dh_auto_build: | ||
# dh_auto_build | ||
# cd doc && ./build.sh |