This repository was archived by the owner on Dec 29, 2023. It is now read-only.
File tree 2 files changed +26
-30
lines changed
2 files changed +26
-30
lines changed Original file line number Diff line number Diff line change 4
4
- push
5
5
6
6
jobs :
7
+ Snap :
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - uses : actions/checkout@v2
11
+
12
+ - name : Install snapcraft
13
+ run : |
14
+ sudo snap install --classic snapcraft
15
+ snapcraft --destructive-mode
16
+
17
+ - name : Publish to Snap Store
18
+ run : |
19
+ echo "${{ secrets.SNAP_DEPLOY_TOKEN }}" > token.txt
20
+ # if: github.ref == 'refs/heads/master'
21
+ snapcraft upload --release=edge *.snap
22
+
7
23
Wheel :
8
24
runs-on : ubuntu-latest
9
25
steps :
Original file line number Diff line number Diff line change @@ -53,40 +53,20 @@ parts:
53
53
stage-snaps :
54
54
- classic-launch
55
55
56
- # Remote part for support of various desktop technologies
57
- # Refer: https://github.com/ubuntu/snapcraft-desktop-helpers/blob/master/snapcraft.yaml
58
- desktop-qt5 :
59
- build-packages :
60
- - build-essential
61
- - qtbase5-dev
62
- - dpkg-dev
63
- make-parameters :
64
- - FLAVOR=qt5
65
- plugin : make
66
- source : https://github.com/ubuntu/snapcraft-desktop-helpers.git
67
- source-subdir : qt
68
- stage-packages :
69
- - libxkbcommon0
70
- - ttf-ubuntu-font-family
71
- - dmz-cursor-theme
72
- - light-themes
73
- - adwaita-icon-theme
74
- - gnome-themes-standard
75
- - shared-mime-info
76
- - libqt5gui5
77
- - libgdk-pixbuf2.0-0
78
- - libqt5svg5
79
- - try :
80
- - appmenu-qt5
81
- - locales-all
82
- - xdg-user-dirs
83
- - fcitx-frontend-qt5
84
-
85
56
guiscrcpy :
86
57
stage-snaps :
87
58
- scrcpy
88
- after : [desktop-qt5, classic-launch, debian-multiarch-triplet-provider-launch]
59
+ stage-packages :
60
+ - freeglut3
61
+ after : [classic-launch, debian-multiarch-triplet-provider-launch]
89
62
# See 'snapcraft plugins'
63
+ build-packages :
64
+ - python3-pip
65
+ override-build : |
66
+ python setup.py sdist
67
+ tar -xvf dist/*.tar.gz setup.py
68
+ rm -rf dist
69
+ snapcraftctl build
90
70
plugin : python
91
71
python-version : python3
92
72
source : .
You can’t perform that action at this time.
0 commit comments