File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -212,6 +212,38 @@ jobs:
212212 path : |
213213 build/*.msi
214214 build/*.appx
215+ appimage :
216+ name : Build AppImage
217+ runs-on : ubuntu-20.04
218+ steps :
219+ - name : Checkout
220+ uses : actions/checkout@v3
221+ with :
222+ submodules : recursive
223+ - name : Install dependencies
224+ run : sudo apt update -qq && sudo apt install --no-install-recommends -y cmake libldap2-dev gettext libpcsclite-dev libminizip-dev libxml-security-c-dev libqt5svg5-dev qttools5-dev-tools qttools5-dev
225+ - name : Download artifact
226+ uses : dawidd6/action-download-artifact@v2
227+ with :
228+ workflow : build.yml
229+ branch : master
230+ name : debs
231+ path : libdigidocpp-pkg
232+ repo : open-eid/libdigidocpp
233+ - name : Install artifact
234+ run : sudo dpkg -i libdigidocpp-pkg/*$(lsb_release -rs)*.deb
235+ - name : Build
236+ run : |
237+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -B build -S .
238+ DESTDIR=AppDir cmake --build build --target all package
239+ - name : Build AppImage
240+ uses : AppImageCrafters/build-appimage-action@master
241+ with :
242+ recipe : AppImageBuilder.yml
243+ - uses : actions/upload-artifact@v3
244+ with :
245+ name : AppImage
246+ path : ' ./*.AppImage*'
215247 coverity :
216248 name : Run Coverity tests
217249 if : contains(github.repository, 'open-eid/DigiDoc4-Client') && contains(github.ref, 'coverity_scan')
Original file line number Diff line number Diff line change 1+ version : 1
2+ script : |
3+ # remove any existent binaries
4+ #rm -rf AppDir | true
5+ # compile and install binaries into AppDir
6+ #cmake . -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
7+ #make install DESTDIR=AppDir
8+ AppDir :
9+ path : ./AppDir
10+ app_info :
11+ id : qdigidoc4
12+ name : DigiDoc4 Client
13+ icon : qdigidoc4
14+ version : 4.2.12
15+ exec : usr/bin/qdigidoc4
16+ apt :
17+ arch : amd64
18+ sources :
19+ - sourceline : ' deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse'
20+ key_url : ' http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3b4fe6acc0b21f32'
21+ - sourceline : ' deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse'
22+ - sourceline : ' deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse'
23+ - sourceline : ' deb [arch=amd64] https://installer.id.ee/media/ubuntu/ focal main'
24+ key_url : ' http://keyserver.ubuntu.com/pks/lookup?op=get&search=0xC6C83D68'
25+ include :
26+ - libdigidocpp1
27+ - libpcsclite1
28+ - libqt5network5
29+ - libqt5printsupport5
30+ - libqt5svg5
31+ - opensc-pkcs11
32+ files :
33+ exclude :
34+ - usr/share/doc
35+ - usr/share/lintian/overrides
36+ - usr/share/man
37+ runtime :
38+ env :
39+ APPDIR_LIBRARY_PATH : $APPDIR/lib/x86_64-linux-gnu:$APPDIR/usr/lib/x86_64-linux-gnu
40+ test :
41+ fedora :
42+ image : appimagecrafters/tests-env:fedora-30
43+ command : ./AppRun
44+ use_host_x : true
45+ debian :
46+ image : appimagecrafters/tests-env:debian-stable
47+ command : ./AppRun
48+ use_host_x : true
49+ arch :
50+ image : appimagecrafters/tests-env:archlinux-latest
51+ command : ./AppRun
52+ use_host_x : true
53+ centos :
54+ image : appimagecrafters/tests-env:centos-7
55+ command : ./AppRun
56+ use_host_x : true
57+ ubuntu :
58+ image : appimagecrafters/tests-env:ubuntu-xenial
59+ command : ./AppRun
60+ use_host_x : true
61+ AppImage :
62+ arch : x86_64
You can’t perform that action at this time.
0 commit comments