Skip to content

Commit 93a0457

Browse files
committed
Build Snapcraft packages
IB-7219 Signed-off-by: Raul Metsma <[email protected]>
1 parent 55773df commit 93a0457

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed

.github/workflows/build.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,20 @@ jobs:
199199
path: |
200200
build/*.msi
201201
build/*.appx
202+
snapcraft:
203+
name: Build Snapcraft package
204+
runs-on: ubuntu-22.04
205+
steps:
206+
- name: Checkout
207+
uses: actions/checkout@v4
208+
with:
209+
submodules: recursive
210+
- uses: snapcore/action-build@v1
211+
- name: Archive artifacts
212+
uses: actions/upload-artifact@v3
213+
with:
214+
name: snap
215+
path: ./*.snap
202216
coverity:
203217
name: Run Coverity tests
204218
if: github.repository == 'open-eid/DigiDoc4-Client' && contains(github.ref, 'coverity_scan')

snapcraft.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: qdigidoc4
2+
base: core22
3+
version: 4.5.0
4+
summary: DigiDoc4 Client
5+
description: DigiDoc4 Client
6+
icon: client/images/Icon.svg
7+
grade: devel
8+
confinement: devmode
9+
10+
package-repositories:
11+
- type: apt
12+
components: [main]
13+
suites: [bionic, focal, jammy]
14+
key-id: 16A4D8047F6FD921EE24D3F9E9AB214DC6C83D68
15+
key-server: hkp://keyserver.ubuntu.com:80
16+
url: https://installer.id.ee/media/ubuntu
17+
18+
apps:
19+
qdigidoc4:
20+
command: usr/bin/qdigidoc4
21+
desktop: usr/share/applications/qdigidoc4.desktop
22+
extensions: [kde-neon]
23+
plugs: [home, network]
24+
digidoc-tool:
25+
command: usr/bin/digidoc-tool
26+
27+
parts:
28+
qdigidoc4:
29+
plugin: nil
30+
stage-packages: [qdigidoc4, opensc-pkcs11, libdigidocpp-tools]

0 commit comments

Comments
 (0)