mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
Add snap to nix, add arm64 builders
This commit is contained in:
22
.github/workflows/snap.yaml
vendored
22
.github/workflows/snap.yaml
vendored
@ -8,8 +8,26 @@ on:
|
||||
workflow_dispatch: {}
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-24.04
|
||||
build-amd64:
|
||||
runs-on: namespace-profile-ghostty-snap
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Setup Cache
|
||||
uses: namespacelabs/nscloud-cache-action@v1.2.0
|
||||
with:
|
||||
path: |
|
||||
/nix
|
||||
/zig
|
||||
- uses: snapcore/action-build@v1
|
||||
|
||||
build-arm64:
|
||||
runs-on: namespace-profile-ghostty-snap-arm64
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Setup Cache
|
||||
uses: namespacelabs/nscloud-cache-action@v1.2.0
|
||||
with:
|
||||
path: |
|
||||
/nix
|
||||
/zig
|
||||
- uses: snapcore/action-build@v1
|
||||
|
@ -14,6 +14,7 @@
|
||||
python3,
|
||||
qemu,
|
||||
scdoc,
|
||||
snapcraft,
|
||||
valgrind,
|
||||
#, vulkan-loader # unused
|
||||
vttest,
|
||||
@ -105,6 +106,7 @@ in
|
||||
pandoc
|
||||
pkg-config
|
||||
scdoc
|
||||
snapcraft
|
||||
zig
|
||||
zip
|
||||
zig2nix.packages.${system}.zon2nix
|
||||
|
@ -20,7 +20,7 @@ platforms:
|
||||
apps:
|
||||
ghostty:
|
||||
command: bin/ghostty
|
||||
command-chain: [ bin/launcher ]
|
||||
command-chain: [bin/launcher]
|
||||
completer: share/bash-completion/completions/ghostty.bash
|
||||
desktop: share/applications/com.mitchellh.ghostty.desktop
|
||||
environment:
|
||||
@ -65,9 +65,9 @@ parts:
|
||||
|
||||
ghostty:
|
||||
source: .
|
||||
after: [ zig ]
|
||||
after: [zig]
|
||||
plugin: nil
|
||||
build-attributes: [ enable-patchelf ]
|
||||
build-attributes: [enable-patchelf]
|
||||
build-packages:
|
||||
- libgtk-4-dev
|
||||
- libadwaita-1-dev
|
||||
|
Reference in New Issue
Block a user