|
6 | 6 | build-and-test: |
7 | 7 | strategy: |
8 | 8 | matrix: |
9 | | - ARCH: [x86_64, i386, aarch64, armhf] |
10 | | - USE_STATIC_RUNTIME: [""] |
11 | | - UPDATE: ["1"] |
12 | | - |
13 | 9 | include: |
14 | | - # test build |
| 10 | + # regular builds: |
15 | 11 | - ARCH: x86_64 |
16 | | - DOCKER_ARCH: amd64 |
17 | | - BUILD_TYPE: coverage |
| 12 | + BUILD_TYPE: appimage |
| 13 | + RUNS_ON: ubuntu-24.04 |
| 14 | + - ARCH: i386 |
| 15 | + BUILD_TYPE: appimage |
| 16 | + RUNS_ON: ubuntu-24.04 |
| 17 | + - ARCH: aarch64 |
| 18 | + BUILD_TYPE: appimage |
| 19 | + RUNS_ON: ubuntu-24.04-arm |
| 20 | + - ARCH: armhf |
| 21 | + BUILD_TYPE: appimage |
| 22 | + RUNS_ON: ubuntu-24.04-arm |
18 | 23 |
|
19 | | - # experimental build |
| 24 | + # test build |
20 | 25 | - ARCH: x86_64 |
21 | | - BUILD_TYPE: appimage |
22 | | - USE_STATIC_RUNTIME: -static |
| 26 | + BUILD_TYPE: coverage |
| 27 | + RUNS_ON: ubuntu-24.04 |
23 | 28 |
|
24 | 29 | fail-fast: false |
25 | 30 |
|
26 | | - name: ${{ matrix.ARCH }}${{ matrix.USE_STATIC_RUNTIME }} |
27 | | - runs-on: ubuntu-latest |
| 31 | + name: ${{ matrix.ARCH }} ${{ matrix.BUILD_TYPE }} |
| 32 | + runs-on: ${{ matrix.RUNS_ON }} |
28 | 33 |
|
29 | 34 | env: |
30 | 35 | ARCH: ${{ matrix.ARCH }} |
31 | 36 | BUILD_TYPE: ${{ matrix.BUILD_TYPE }} |
32 | 37 | DEBIAN_FRONTEND: interactive |
33 | | - USE_STATIC_RUNTIME: ${{ matrix.USE_STATIC_RUNTIME }} |
34 | 38 |
|
35 | 39 | steps: |
36 | 40 | # check out once git command is available |
37 | 41 | - uses: actions/checkout@v4 |
38 | 42 | with: |
39 | 43 | submodules: recursive |
40 | 44 |
|
41 | | - - name: Set up QEMU integration for Docker |
42 | | - run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes |
43 | | - |
44 | 45 | - name: Build and test AppImage |
45 | 46 | run: bash ci/build-in-docker.sh |
46 | 47 |
|
47 | 48 | - name: Archive artifacts |
48 | 49 | uses: actions/upload-artifact@v4 |
49 | 50 | with: |
50 | | - name: AppImage ${{ matrix.ARCH }}${{ matrix.USE_STATIC_RUNTIME}} |
51 | | - path: linuxdeploy-plugin-qt${{ matrix.USE_STATIC_RUNTIME}}-${{ matrix.ARCH }}.AppImage* |
| 51 | + name: AppImage ${{ matrix.ARCH }}${{ matrix.BUILD_TYPE }} |
| 52 | + path: linuxdeploy-plugin-qt-${{ matrix.ARCH }}.AppImage* |
52 | 53 |
|
53 | 54 | upload: |
54 | 55 | name: Create release and upload artifacts |
55 | 56 | needs: |
56 | 57 | - build-and-test |
57 | | - runs-on: ubuntu-20.04 |
| 58 | + runs-on: ubuntu-24.04 |
58 | 59 | steps: |
59 | 60 | - name: Download artifacts |
60 | 61 | uses: actions/download-artifact@v4 |
|
0 commit comments