File tree Expand file tree Collapse file tree 2 files changed +59
-0
lines changed
Expand file tree Collapse file tree 2 files changed +59
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ name : Build Ghostty AppImage
3+
4+ on :
5+ workflow_dispatch :
6+ push :
7+ branches :
8+ - main
9+ pull_request :
10+
11+ permissions :
12+ contents : write
13+
14+ jobs :
15+ build :
16+ name : Build Ghostty
17+ runs-on : ubuntu-latest
18+ container :
19+ image : ubuntu:24.04
20+ steps :
21+ - name : Checkout ghostty-appimage
22+ uses : actions/checkout@v4
23+
24+ - name : Setup Build Env
25+ run : ./setup-env.sh
26+
27+ - name : Build Ghostty
28+ run : just setup compile extract
29+
30+ - name : Upload Artifact
31+ uses : actions/upload-artifact@v4
32+ with :
33+ name : Ghostty_AppImage
34+ retention-days : 7
35+ path : Ghostty-*.AppImage
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # Sets up the environment to build Ghostty on Ubuntu
4+
5+ set -e
6+
7+ DEBIAN_FRONTEND=" noninteractive"
8+ ZIG_VERSION=" 0.13.0"
9+
10+ # Install Build Tools
11+ apt-get -qq update && apt-get -qq -y install build-essential libonig-dev libbz2-dev lintian lsb-release pandoc wget just
12+
13+ wget -q " https://github.com/jedisct1/minisign/releases/download/0.11/minisign-0.11-linux.tar.gz"
14+ tar -xzf minisign-0.11-linux.tar.gz
15+ mv minisign-linux/x86_64/minisign /usr/local/bin
16+ rm -r minisign-linux
17+
18+ wget -q " https://ziglang.org/download/$ZIG_VERSION /zig-linux-x86_64-$ZIG_VERSION .tar.xz"
19+ tar -xf " zig-linux-x86_64-$ZIG_VERSION .tar.xz" -C /opt
20+ rm " zig-linux-x86_64-$ZIG_VERSION .tar.xz"
21+ ln -s " /opt/zig-linux-x86_64-$ZIG_VERSION /zig" /usr/local/bin/zig
22+
23+ # Install Ghostty Dependencies
24+ apt-get -qq -y install libgtk-4-dev libadwaita-1-dev
You can’t perform that action at this time.
0 commit comments