Skip to content

Commit aa6be68

Browse files
author
psadi
committed
feat: add support arm build
1 parent 9beedca commit aa6be68

File tree

4 files changed

+50
-23
lines changed

4 files changed

+50
-23
lines changed

.github/workflows/ci.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,12 @@ permissions:
1616
jobs:
1717
build_appimage:
1818
name: Build Ghostty
19-
runs-on: ubuntu-24.04
19+
runs-on: ubuntu-latest
20+
strategy:
21+
matrix:
22+
container: [ "ubuntu:24.04", "arm64v8/ubuntu:24.04" ]
2023
container:
21-
image: ubuntu:24.04
24+
image: ${{ matrix.container }}
2225
options: "--privileged --cap-add SYS_ADMIN --device /dev/fuse"
2326
steps:
2427
- name: Checkout ghostty-appimage
@@ -35,7 +38,7 @@ jobs:
3538
with:
3639
name: ghostty-appimage
3740
retention-days: 7
38-
path: /tmp/ghostty-build/Ghostty-x86_64.AppImage*
41+
path: /tmp/ghostty-build/Ghostty-.*\.AppImage.*
3942

4043
release_appimage:
4144
name: "Upload binaries to current release"
@@ -51,7 +54,7 @@ jobs:
5154
uses: svenstaro/upload-release-action@v2
5255
with:
5356
repo_token: ${{ secrets.GITHUB_TOKEN }}
54-
file: ./Ghostty-x86_64.AppImage*
57+
file: ./Ghostty-.*\.AppImage.*
5558
tag: ${{ github.ref }}
5659
overwrite: true
5760
file_glob: true

README.md

Lines changed: 42 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<img src="https://img.shields.io/github/contributors/psadi/ghostty-appimage" alt="Contributors">
1717
</p></h1>
1818

19-
This repository provides build scripts to create a Universal AppImage for [Ghostty](https://ghostty.org/). This unofficial build offers an executable AppImage compatible with any Linux distribution following the **x86_64 architecture**.
19+
This repository provides build scripts to create a Universal AppImage for [Ghostty](https://ghostty.org/). This unofficial build offers an executable AppImage compatible with any Linux distribution.
2020

2121
**Ghostty Source Code:** [Click Here](https://github.com/ghostty-org/ghostty)
2222

@@ -32,14 +32,29 @@ This repository provides build scripts to create a Universal AppImage for [Ghost
3232
Run the following commands in your terminal:
3333

3434
```bash
35-
# Download the latest AppImage package
36-
wget https://github.com/psadi/ghostty-appimage/releases/download/[TAG]/Ghostty-x86_64.AppImage
37-
# Provide executable permissions
35+
# Download the latest AppImage package from releases
36+
wget https://github.com/psadi/ghostty-appimage/releases/download/<TAG>/Ghostty-x86_64.AppImage
37+
38+
# Make the AppImage executable
3839
chmod +x Ghostty-x86_64.AppImage
39-
# Execute the AppImage
40+
41+
# Run the AppImage
4042
./Ghostty-x86_64.AppImage
43+
44+
# Optionally, add the AppImage to your PATH for easier access
45+
46+
# With sudo for system wide availability
47+
sudo install ./Ghostty-x86_64.AppImage /usr/local/bin/ghostty
48+
49+
# Without sudo, XDG base spec mandate
50+
install ./Ghostty-x86_64.AppImage $HOME/.local/bin/ghostty
51+
52+
# Now you can run Ghostty from anywhere using the command:
53+
# ghostty
4154
```
4255

56+
_**Note:** By using [**AM**](https://github.com/ivan-hc/AM)/[**AppMan**](https://github.com/ivan-hc/AppMan), **PATH** config done automatically when you install appimages with it._
57+
4358
### Graphical
4459

4560
1. Download the latest AppImage package from the [releases](https://github.com/psadi/ghostty-appimage/releases) section.
@@ -57,26 +72,35 @@ chmod +x Ghostty-x86_64.AppImage
5772

5873
Since AppImages are self-contained executables, there is no formal installation process beyond setting executable permissions.
5974

60-
**To update manually:**
75+
**Update manually:**
6176

62-
1. Download the latest AppImage package from the [releases](https://github.com/psadi/ghostty-appimage/releases) section.
63-
2. Follow the same steps as in the [Installation](#installation) section to make it executable and run it.
77+
1. Download the latest AppImage package from the [releases](https://github.com/psadi/ghostty-appimage/releases) section.
78+
2. Follow the same steps as in the [Installation](#installation) section to make it executable and run it.
6479

6580
**Update automatically:**
6681

67-
1. Use [AppImageUpdate](https://github.com/AppImageCommunity/AppImageUpdate) which reads the update information in the AppImage. This is a low level tool.
68-
2. Use a higher level tool that uses AppImageUpdate, like [AM](https://github.com/ivan-hc/AM) or [appimaged](https://github.com/probonopd/go-appimage/blob/master/src/appimaged/README.md) daemon, these tools also automatically handle desktop integration.
82+
1. Use [AppImageUpdate](https://github.com/AppImageCommunity/AppImageUpdate) which reads the update information in the AppImage. This is a low level tool.
83+
2. Use a higher level tool that uses AppImageUpdate, like [AM](https://github.com/ivan-hc/AM) or [appimaged](https://github.com/probonopd/go-appimage/blob/master/src/appimaged/README.md) daemon, these tools also automatically handle desktop integration.
6984

70-
## ❓ What's Next?
85+
## 🖥️ Supported System Architectures
86+
87+
This AppImage supports the following architectures:
88+
89+
| **#** | **Architecture** | **Status** | **Availability** |
90+
| :---: | ---------------- | :--------: | ---------------- |
91+
| 1 | x86_64 | 🟢 | Available |
92+
| 2 | aarch64 | 🟠 | In Progress |
7193

72-
1. Submit AppImage(s) to [AppImageHub](https://appimage.github.io/).
73-
2. Provide AppImages for other supported architectures.
94+
**Notes:**
95+
96+
- **x86_64**: Widely used in modern desktops and servers, supporting 64-bit processing.
97+
- **aarch64**: 64-bit ARM architecture, planned for future support in cloud computing environments.
98+
99+
## ❓ What's Next?
74100

75-
| # | **Architecture** | **Status** |
76-
| :-: | ---------------- | :--------: |
77-
| 1 | x86_64 ||
78-
| 2 | i386 | 🟠 |
79-
| 3 | ARM | 🟠 |
101+
- [x] Provide AppImages for other supported architectures
102+
- [ ] Submit AppImage(s) to [AppImageHub](https://appimage.github.io/)
103+
- [ ] Dependency caching in ci for a faster release cycle
80104

81105
### 🛠️ Troubleshooting
82106

assets/1.png

-217 Bytes
Loading

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ GHOSTTY_VERSION="1.0.1"
77
TMP_DIR="/tmp/ghostty-build"
88
APP_DIR="${TMP_DIR}/ghostty.AppDir"
99
PUB_KEY="RWQlAjJC23149WL2sEpT/l0QKy7hMIFhYdQOFy0Z7z7PbneUgvlsnYcV"
10-
UPINFO="gh-releases-zsync|$(echo "$GITHUB_REPOSITORY" | tr '/' '|')|latest|*$ARCH.AppImage.zsync"
10+
UPINFO="gh-releases-zsync|$(echo "${GITHUB_REPOSITORY}" | tr '/' '|')|latest|*${ARCH}.AppImage.zsync"
1111

1212
rm -rf "${TMP_DIR}"
1313

0 commit comments

Comments
 (0)