Skip to content

Commit c69ac6b

Browse files
static
1 parent 52d9a4c commit c69ac6b

File tree

1 file changed

+21
-7
lines changed

1 file changed

+21
-7
lines changed

.github/workflows/main.yml

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,34 @@ jobs:
77
strategy:
88
matrix:
99
ARCH: [x86_64, i386, aarch64, armhf]
10+
USE_STATIC_RUNTIME: [""]
1011
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+
1124
fail-fast: false
1225

13-
name: ${{ matrix.ARCH }}
26+
name: ${{ matrix.ARCH }}${{ matrix.USE_STATIC_RUNTIME }}
1427
runs-on: ubuntu-latest
1528

1629
env:
1730
ARCH: ${{ matrix.ARCH }}
1831
BUILD_TYPE: ${{ matrix.BUILD_TYPE }}
1932
DEBIAN_FRONTEND: interactive
33+
USE_STATIC_RUNTIME: ${{ matrix.USE_STATIC_RUNTIME }}
2034

2135
steps:
2236
# check out once git command is available
23-
- uses: actions/checkout@v3
37+
- uses: actions/checkout@v4
2438
with:
2539
submodules: recursive
2640

@@ -31,10 +45,10 @@ jobs:
3145
run: bash ci/build-in-docker.sh
3246

3347
- name: Archive artifacts
34-
uses: actions/upload-artifact@v3
48+
uses: actions/upload-artifact@v4
3549
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${{ matrix.USE_STATIC_RUNTIME}}-plugin-qt-${{ matrix.ARCH }}.AppImage*
3852

3953
upload:
4054
name: Create release and upload artifacts
@@ -43,7 +57,7 @@ jobs:
4357
runs-on: ubuntu-20.04
4458
steps:
4559
- name: Download artifacts
46-
uses: actions/download-artifact@v2
60+
uses: actions/download-artifact@v4
4761
- name: Inspect directory after downloading artifacts
4862
run: ls -alFR
4963
- name: Create release and upload artifacts
@@ -52,4 +66,4 @@ jobs:
5266
run: |
5367
wget -q https://github.com/TheAssassin/pyuploadtool/releases/download/continuous/pyuploadtool-x86_64.AppImage
5468
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

Comments
 (0)