Skip to content

Commit f262d38

Browse files
committed
Snap: Modify snapcraft.yaml
1 parent 47a6712 commit f262d38

File tree

2 files changed

+16
-6
lines changed

2 files changed

+16
-6
lines changed

.github/workflows/snap.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,14 @@ jobs:
2828
- name: Check out Git repository
2929
uses: actions/checkout@v3
3030

31+
- name: Install Snapcraft
32+
uses: samuelmeuli/action-snapcraft@v3
33+
3134
# You can now run Snapcraft shell commands
3235
- name: Build snap
3336
run: |
34-
sudo snap install snapcraft --classic
35-
sudo usermod -aG lxd $USER
37+
#sudo snap install snapcraft --classic
38+
#sudo usermod -aG lxd $USER
3639
snapcraft -v --debug
3740
3841
- name: Update artifact

snap/snapcraft.yaml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,15 @@ description: |
3737
base: core24 # the base snap is the execution environment for this snap
3838
platforms:
3939
amd64:
40+
build-on: [amd64]
4041
arm64:
41-
#base: core22
42+
build-on: [arm64]
4243
#architectures:
4344
# - build-on: amd64
45+
# run-on: amd64
4446
# - build-on: arm64
47+
# run-on: arm64
48+
#base: core22
4549

4650
# - devel
4751
# - stable
@@ -303,8 +307,8 @@ parts:
303307
source-type: git
304308
source-branch: master
305309
source-depth: 1
306-
build-packages:
307-
stage-packages:
310+
build-packages: []
311+
stage-packages: []
308312
cmake-parameters:
309313
- -DCMAKE_BUILD_TYPE=Release
310314
- -DCMAKE_PREFIX_PATH=$CRAFT_STAGE/usr/local/
@@ -323,8 +327,11 @@ parts:
323327
- freerdp
324328
- tigervnc
325329
- pcapplusplus
330+
# - qt
326331
- qtermwidget
327-
# - qt
332+
- qtkeychain
333+
- qftpserver
334+
328335
build-packages:
329336
- libvncserver-dev
330337
- libtelnet-dev

0 commit comments

Comments
 (0)