File tree Expand file tree Collapse file tree 1 file changed +15
-12
lines changed
Expand file tree Collapse file tree 1 file changed +15
-12
lines changed Original file line number Diff line number Diff line change 11---
22name : Build
3-
43on :
54 workflow_dispatch : {}
65 pull_request :
76 types : [opened, synchronize, reopened]
87 release :
98 types : [published]
10-
119jobs :
1210 build_appimage :
1311 permissions :
1412 actions : read
1513 security-events : write
1614 contents : write
17- name : Build Ghostty
15+ name : Build Ghostty (${{ matrix.arch }})
1816 runs-on : ubuntu-24.04
17+ strategy :
18+ matrix :
19+ arch : [x86_64, aarch64]
1920 container :
2021 image : ubuntu:24.04
2122 options : " --privileged --cap-add SYS_ADMIN --device /dev/fuse"
2223 steps :
24+ - name : Set up QEMU
25+ uses : docker/setup-qemu-action@v3
26+ continue-on-error : true
27+ - name : Set up Docker Buildx
28+ uses : docker/setup-buildx-action@v3
29+ continue-on-error : true
2330 - name : Checkout ghostty-appimage
2431 uses : actions/checkout@v4
2532 with :
2633 persist-credentials : false
27-
2834 - name : Setup Build Env
2935 run : ./setup.sh
30-
3136 - name : Build Ghostty
3237 run : ./build.sh
33-
3438 - name : Upload Artifact
3539 uses : actions/upload-artifact@v4
3640 with :
37- name : ghostty-appimage
41+ name : ghostty-appimage-${{ matrix.arch }}
3842 retention-days : 7
39- path : /tmp/ghostty-build/Ghostty-*-x86_64.AppImage*
40-
43+ path : /tmp/ghostty-build/Ghostty-*-${{ matrix.arch }}.AppImage*
4144 release_appimage :
4245 permissions :
4346 actions : read
@@ -50,13 +53,13 @@ jobs:
5053 steps :
5154 - uses : actions/download-artifact@v4
5255 with :
53- name : ghostty-appimage
54-
56+ pattern : ghostty-appimage-*
57+ merge-multiple : true
5558 - name : Upload binaries to release
5659 uses : svenstaro/upload-release-action@v2
5760 with :
5861 repo_token : ${{ secrets.GITHUB_TOKEN }}
59- file : ./Ghostty-*-x86_64 .AppImage*
62+ file : ./Ghostty-*-* .AppImage*
6063 tag : ${{ github.ref }}
6164 overwrite : true
6265 file_glob : true
You can’t perform that action at this time.
0 commit comments