7
7
strategy :
8
8
matrix :
9
9
ARCH : [x86_64, i386, aarch64, armhf]
10
+ USE_STATIC_RUNTIME : [""]
10
11
UPDATE : ["1"]
12
+
13
+ include :
14
+ # test build
15
+ - ARCH : x86_64
16
+ DOCKER_ARCH : amd64
17
+ BUILD_TYPE : coverage
18
+
19
+ # experimental build
20
+ - ARCH : x86_64
21
+ BUILD_TYPE : appimage
22
+ USE_STATIC_RUNTIME : -static
23
+
11
24
fail-fast : false
12
25
13
- name : ${{ matrix.ARCH }}
26
+ name : ${{ matrix.ARCH }}${{ matrix.USE_STATIC_RUNTIME }}
14
27
runs-on : ubuntu-latest
15
28
16
29
env :
17
30
ARCH : ${{ matrix.ARCH }}
18
31
BUILD_TYPE : ${{ matrix.BUILD_TYPE }}
19
32
DEBIAN_FRONTEND : interactive
33
+ USE_STATIC_RUNTIME : ${{ matrix.USE_STATIC_RUNTIME }}
20
34
21
35
steps :
22
36
# check out once git command is available
23
- - uses : actions/checkout@v3
37
+ - uses : actions/checkout@v4
24
38
with :
25
39
submodules : recursive
26
40
@@ -31,10 +45,10 @@ jobs:
31
45
run : bash ci/build-in-docker.sh
32
46
33
47
- name : Archive artifacts
34
- uses : actions/upload-artifact@v3
48
+ uses : actions/upload-artifact@v4
35
49
with :
36
- name : AppImage ${{ matrix.ARCH }}
37
- path : linuxdeploy-plugin-qt-${{ matrix.ARCH }}.AppImage*
50
+ name : AppImage ${{ matrix.ARCH }}${{ matrix.USE_STATIC_RUNTIME}}
51
+ path : linuxdeploy-plugin-qt${{ matrix.USE_STATIC_RUNTIME}} -${{ matrix.ARCH }}.AppImage*
38
52
39
53
upload :
40
54
name : Create release and upload artifacts
43
57
runs-on : ubuntu-20.04
44
58
steps :
45
59
- name : Download artifacts
46
- uses : actions/download-artifact@v2
60
+ uses : actions/download-artifact@v4
47
61
- name : Inspect directory after downloading artifacts
48
62
run : ls -alFR
49
63
- name : Create release and upload artifacts
52
66
run : |
53
67
wget -q https://github.com/TheAssassin/pyuploadtool/releases/download/continuous/pyuploadtool-x86_64.AppImage
54
68
chmod +x pyuploadtool-x86_64.AppImage
55
- ./pyuploadtool-x86_64.AppImage **/linuxdeploy-plugin-qt *.AppImage*
69
+ ./pyuploadtool-x86_64.AppImage **/linuxdeploy*.AppImage*
0 commit comments