File tree Expand file tree Collapse file tree 3 files changed +27
-33
lines changed Expand file tree Collapse file tree 3 files changed +27
-33
lines changed Original file line number Diff line number Diff line change 1111
1212jobs :
1313 flatpak :
14- name : Flatpak
15- runs-on : ubuntu-latest
14+ name : Flatpak (${{ matrix.configuration.arch }})
15+ runs-on : ${{ matrix.configuration.runs-on }}
1616
1717 strategy :
1818 matrix :
19- arch : [x86_64, aarch64]
19+ configuration :
20+ - arch : x86_64
21+ runs-on : ubuntu-latest
22+ - arch : aarch64
23+ runs-on : ubuntu-24.04-arm
2024 # Don't fail the whole workflow if one architecture fails
2125 fail-fast : false
2226
2327 container :
24- image : ghcr.io/elementary/flatpak-platform/runtime:8-${{ matrix.arch }}
28+ image : ghcr.io/elementary/flatpak-platform/runtime:8-${{ matrix.configuration. arch }}
2529 options : --privileged
2630
2731 steps :
2832 - name : Checkout
2933 uses : actions/checkout@v4
3034
31- - name : Set up QEMU for aarch64 emulation
32- if : ${{ matrix.arch != 'x86_64' }}
33- uses : docker/setup-qemu-action@v3
34- with :
35- platforms : arm64
36-
3735 - name : Build
3836 uses :
flatpak/flatpak-github-actions/[email protected] 3937 with :
4442 repository-url : https://flatpak.elementary.io/repo.flatpakrepo
4543 cache-key : " flatpak-builder-${{ github.sha }}"
4644 branch : daily
47- arch : ${{ matrix.arch }}
45+ arch : ${{ matrix.configuration. arch }}
4846
4947 lint :
5048 name : Lint
Original file line number Diff line number Diff line change @@ -38,29 +38,27 @@ jobs:
3838 GIT_USER_EMAIL :
" [email protected] " 3939
4040 deploy_flatpak :
41- name : Deploy Flatpak
42- runs-on : ubuntu-latest
41+ name : Deploy Flatpak (${{ matrix.configuration.arch }})
42+ runs-on : ${{ matrix.configuration.runs-on }}
4343
4444 strategy :
4545 matrix :
46- arch : [x86_64, aarch64]
46+ configuration :
47+ - arch : x86_64
48+ runs-on : ubuntu-latest
49+ - arch : aarch64
50+ runs-on : ubuntu-24.04-arm
4751 # Don't fail the whole workflow if one architecture fails
4852 fail-fast : false
4953
5054 container :
51- image : ghcr.io/elementary/flatpak-platform/runtime:8-${{ matrix.arch }}
55+ image : ghcr.io/elementary/flatpak-platform/runtime:8-${{ matrix.configuration. arch }}
5256 options : --privileged
5357
5458 steps :
5559 - name : Checkout
5660 uses : actions/checkout@v4
5761
58- - name : Set up QEMU for aarch64 emulation
59- if : ${{ matrix.arch != 'x86_64' }}
60- uses : docker/setup-qemu-action@v3
61- with :
62- platforms : arm64
63-
6462 - name : Build
6563 uses :
flatpak/flatpak-github-actions/[email protected] 6664 with :
7169 repository-url : https://flatpak.elementary.io/repo.flatpakrepo
7270 cache-key : " flatpak-builder-${{ github.sha }}"
7371 branch : daily
74- arch : ${{ matrix.arch }}
72+ arch : ${{ matrix.configuration. arch }}
7573
7674 - name : Deploy
7775 uses :
flatpak/flatpak-github-actions/[email protected]
Original file line number Diff line number Diff line change @@ -28,31 +28,29 @@ jobs:
2828 release_branch : ' odin'
2929
3030 deploy_flatpak :
31- name : Deploy Flatpak
32- runs-on : ubuntu-latest
31+ name : Deploy Flatpak (${{ matrix.configuration.arch }})
32+ runs-on : ${{ matrix.configuration.runs-on }}
3333
3434 if : github.event.pull_request.merged == true && true == contains(join(github.event.pull_request.labels.*.name), 'Release')
3535
3636 strategy :
3737 matrix :
38- arch : [x86_64, aarch64]
38+ configuration :
39+ - arch : x86_64
40+ runs-on : ubuntu-latest
41+ - arch : aarch64
42+ runs-on : ubuntu-24.04-arm
3943 # Don't fail the whole workflow if one architecture fails
4044 fail-fast : false
4145
4246 container :
43- image : ghcr.io/elementary/flatpak-platform/runtime:8-${{ matrix.arch }}
47+ image : ghcr.io/elementary/flatpak-platform/runtime:8-${{ matrix.configuration. arch }}
4448 options : --privileged
4549
4650 steps :
4751 - name : Checkout
4852 uses : actions/checkout@v4
4953
50- - name : Set up QEMU for aarch64 emulation
51- if : ${{ matrix.arch != 'x86_64' }}
52- uses : docker/setup-qemu-action@v3
53- with :
54- platforms : arm64
55-
5654 - name : Build
5755 uses :
flatpak/flatpak-github-actions/[email protected] 5856 with :
6361 repository-url : https://flatpak.elementary.io/repo.flatpakrepo
6462 cache-key : " flatpak-builder-${{ github.sha }}"
6563 branch : stable
66- arch : ${{ matrix.arch }}
64+ arch : ${{ matrix.configuration. arch }}
6765
6866 - name : Deploy
6967 uses :
flatpak/flatpak-github-actions/[email protected]
You can’t perform that action at this time.
0 commit comments