File tree Expand file tree Collapse file tree 1 file changed +35
-1
lines changed Expand file tree Collapse file tree 1 file changed +35
-1
lines changed Original file line number Diff line number Diff line change 1010
1111jobs :
1212 flatpak :
13- name : ' Flatpak build'
13+ name : Flatpak build (${{ matrix.config.arch }})
1414 runs-on : ubuntu-24.04
15+ strategy :
16+ matrix :
17+ config :
18+ - arch : x86_64
19+ use_qemu : false
20+
21+ - arch : aarch64
22+ use_qemu : true
23+ qemu_arch : arm64
24+ # Don't fail the whole workflow if one architecture fails
25+ fail-fast : false
1526 container :
1627 image : bilelmoussaoui/flatpak-github-actions:freedesktop-24.08
1728 options : --privileged
1829 steps :
1930 - uses : actions/checkout@v4
31+
32+ - name : Install deps
33+ if : ${{ matrix.config.use_qemu == true }}
34+ run : |
35+ dnf -y install docker
36+
37+ - name : Set up QEMU
38+ if : ${{ matrix.config.use_qemu == true }}
39+ id : qemu
40+ uses : docker/setup-qemu-action@v2
41+ with :
42+ platforms : ${{ matrix.config.qemu_arch }}
43+
2044 - uses : bilelmoussaoui/flatpak-github-actions/flatpak-builder@v6
2145 with :
2246 bundle : oopetris.flatpak
2347 manifest-path : io.github.openbrickprotocolfoundation.oopetris.yml
2448 verbose : ${{ runner.debug == '1' && 'true' || 'false' }}
49+ cache-key : flatpak-builder-${{ github.sha }}
50+ arch : ${{ matrix.config.arch }}
51+
52+ - uses : flatpak/flatpak-github-actions/flat-manager@v4
53+ name : ' Deploy'
54+ if : github.event_name != 'pull_request'
55+ with :
56+ repository : beta
57+ flat-manager-url : http://flat-man.oopetris.totto.lt
58+ token : ${{ secrets.FLAT_MANAGER_TOKEN }}
You can’t perform that action at this time.
0 commit comments