Add snap to nix, add arm64 builders

This commit is contained in:
Mitchell Hashimoto
2025-01-08 10:22:17 -08:00
parent 2e0e8af1ad
commit f1f23e1c7d
3 changed files with 28 additions and 8 deletions

View File

@ -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

View File

@ -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