mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 00:06:09 +03:00
ci: install nix
This commit is contained in:
10
.github/workflows/test.yml
vendored
10
.github/workflows/test.yml
vendored
@ -342,6 +342,7 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
adwaita: ["true", "false"]
|
adwaita: ["true", "false"]
|
||||||
x11: ["true", "false"]
|
x11: ["true", "false"]
|
||||||
|
name: GTK adwaita=${{ matrix.adwaita }} x11=${{ matrix.x11 }}
|
||||||
runs-on: namespace-profile-ghostty-sm
|
runs-on: namespace-profile-ghostty-sm
|
||||||
needs: test
|
needs: test
|
||||||
env:
|
env:
|
||||||
@ -358,6 +359,15 @@ jobs:
|
|||||||
/nix
|
/nix
|
||||||
/zig
|
/zig
|
||||||
|
|
||||||
|
# Install Nix and use that to run our tests so our environment matches exactly.
|
||||||
|
- uses: cachix/install-nix-action@v30
|
||||||
|
with:
|
||||||
|
nix_path: nixpkgs=channel:nixos-unstable
|
||||||
|
- uses: cachix/cachix-action@v15
|
||||||
|
with:
|
||||||
|
name: ghostty
|
||||||
|
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
|
||||||
|
|
||||||
- name: Test GTK Build
|
- name: Test GTK Build
|
||||||
run: |
|
run: |
|
||||||
nix develop -c \
|
nix develop -c \
|
||||||
|
Reference in New Issue
Block a user