Skip to content

Commit d39126f

Browse files
committed
chore: zig version 0.15.1 for tip builds
1 parent 812e01d commit d39126f

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.github/workflows/ci.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,17 @@ jobs:
5353
${{ runner.os }}-${{ matrix.arch }}-ghostty-
5454
5555
- name: Setup build environment
56-
run: |
57-
ZIG_VERSION=0.14.0 ./setup.sh
58-
59-
- name: Build Ghostty AppImage
6056
run: |
6157
if [ "${{ github.event_name }}" == "schedule" ]; then
58+
export ZIG_VERSION=0.15.1
6259
echo "tip" > VERSION
60+
else
61+
export ZIG_VERSION=0.14.0
6362
fi
63+
ZIG_VERSION=$ZIG_VERSION ./setup.sh
64+
65+
- name: Build Ghostty AppImage
66+
run: |
6467
./build.sh
6568
6669
- name: Upload AppImage Artifacts

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export ICON="./ghostty-${GHOSTTY_VERSION}/zig-out/share/icons/hicolor/256x256/ap
6161

6262
./quick-sharun ./ghostty-${GHOSTTY_VERSION}/zig-out/bin/ghostty
6363
cp -rf ./ghostty-${GHOSTTY_VERSION}/zig-out/share/* ./AppDir/share/
64-
echo 'unset ARGV0' >> ./AppDir/.env
64+
echo 'unset ARGV0' >>./AppDir/.env
6565
# temp fix for https://github.com/pkgforge-dev/ghostty-appimage/issues/93
6666
ln -s /usr/share/glvnd/egl_vendor.d/10_nvidia.json ./AppDir/share/glvnd/egl_vendor.d/10_nvidia.json
6767

0 commit comments

Comments
 (0)