File tree 2 files changed +33
-6
lines changed
2 files changed +33
-6
lines changed Original file line number Diff line number Diff line change 7
7
runs-on : ubuntu-16.04
8
8
9
9
steps :
10
- - name : Install dependencies
11
- run : sudo apt-get install libusb-1.0-0-dev libudev-dev
12
-
13
10
- uses : actions/checkout@v2
14
11
- uses : actions/setup-python@v1
15
12
with :
16
13
python-version : ' 3.6.x'
17
14
15
+ - name : Install dependencies
16
+ run : |
17
+ sudo apt-get install libusb-1.0-0-dev libudev-dev ruby ruby-dev rubygems build-essential desktop-file-utils
18
+ wget https://github.com/AppImage/pkg2appimage/archive/38603d92359a48189c35debad9005e8e902e6070.zip
19
+ unzip *.zip
20
+ sudo gem install --no-document fpm
21
+
18
22
- name : Setup venv
19
23
run : |
20
24
python -m venv venv
@@ -25,13 +29,15 @@ jobs:
25
29
run : |
26
30
source venv/bin/activate
27
31
fbs freeze
28
- cd target
29
- tar cfJ vial-linux.tar.xz Vial
32
+ fbs installer
33
+ deactivate
34
+ ./pkg2appimage-*/pkg2appimage misc/Vial.yml
35
+ mv out/Vial-*.AppImage out/Vial-x86_64.AppImage
30
36
31
37
- uses : actions/upload-artifact@v1
32
38
with :
33
39
name : vial-linux
34
- path : target/vial-linux.tar.xz
40
+ path : out/Vial-x86_64.AppImage
35
41
36
42
build-mac :
37
43
runs-on : macos-10.15
Original file line number Diff line number Diff line change
1
+ app : Vial
2
+
3
+ ingredients :
4
+ dist : xenial
5
+ sources :
6
+ - deb http://archive.ubuntu.com/ubuntu/ xenial main universe
7
+ package : Vial
8
+ debs :
9
+ - ../target/Vial.deb
10
+
11
+ script :
12
+ - cat > ./AppRun <<\EOF
13
+ - # !/bin/sh
14
+ - HERE=$(dirname $(readlink -f "${0}"))
15
+ - export QT_QPA_PLATFORM=xcb
16
+ - exec "${HERE}/opt/Vial/Vial" "$@"
17
+ - EOF
18
+ - chmod a+x ./AppRun
19
+ - cp usr/share/icons/hicolor/256x256/apps/Vial.png .
20
+ - mv usr/share/applications/Vial.desktop .
21
+ - sed -i -e 's@^Version=.*@Version=1.0@g' Vial.desktop
You can’t perform that action at this time.
0 commit comments