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:
26
.github/workflows/snap.yaml
vendored
26
.github/workflows/snap.yaml
vendored
@ -8,8 +8,26 @@ on:
|
|||||||
workflow_dispatch: {}
|
workflow_dispatch: {}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build-amd64:
|
||||||
runs-on: ubuntu-24.04
|
runs-on: namespace-profile-ghostty-snap
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: snapcore/action-build@v1
|
- 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,
|
python3,
|
||||||
qemu,
|
qemu,
|
||||||
scdoc,
|
scdoc,
|
||||||
|
snapcraft,
|
||||||
valgrind,
|
valgrind,
|
||||||
#, vulkan-loader # unused
|
#, vulkan-loader # unused
|
||||||
vttest,
|
vttest,
|
||||||
@ -105,6 +106,7 @@ in
|
|||||||
pandoc
|
pandoc
|
||||||
pkg-config
|
pkg-config
|
||||||
scdoc
|
scdoc
|
||||||
|
snapcraft
|
||||||
zig
|
zig
|
||||||
zip
|
zip
|
||||||
zig2nix.packages.${system}.zon2nix
|
zig2nix.packages.${system}.zon2nix
|
||||||
|
@ -20,7 +20,7 @@ platforms:
|
|||||||
apps:
|
apps:
|
||||||
ghostty:
|
ghostty:
|
||||||
command: bin/ghostty
|
command: bin/ghostty
|
||||||
command-chain: [ bin/launcher ]
|
command-chain: [bin/launcher]
|
||||||
completer: share/bash-completion/completions/ghostty.bash
|
completer: share/bash-completion/completions/ghostty.bash
|
||||||
desktop: share/applications/com.mitchellh.ghostty.desktop
|
desktop: share/applications/com.mitchellh.ghostty.desktop
|
||||||
environment:
|
environment:
|
||||||
@ -65,9 +65,9 @@ parts:
|
|||||||
|
|
||||||
ghostty:
|
ghostty:
|
||||||
source: .
|
source: .
|
||||||
after: [ zig ]
|
after: [zig]
|
||||||
plugin: nil
|
plugin: nil
|
||||||
build-attributes: [ enable-patchelf ]
|
build-attributes: [enable-patchelf]
|
||||||
build-packages:
|
build-packages:
|
||||||
- libgtk-4-dev
|
- libgtk-4-dev
|
||||||
- libadwaita-1-dev
|
- libadwaita-1-dev
|
||||||
|
Reference in New Issue
Block a user