ci: libghostty on Linux build

This commit is contained in:
Mitchell Hashimoto
2024-01-18 09:01:18 -08:00
parent d1ad8e4740
commit 50054f8535

View File

@ -40,6 +40,25 @@ jobs:
- name: Test Build - name: Test Build
run: nix develop -c zig build -Dstatic=true -Dapp-runtime=glfw -Dtarget=${{ matrix.target }} run: nix develop -c zig build -Dstatic=true -Dapp-runtime=glfw -Dtarget=${{ matrix.target }}
build-linux-libghostty:
runs-on: ubuntu-latest
needs: test
steps:
- name: Checkout code
uses: actions/checkout@v4
# Install Nix and use that to run our tests so our environment matches exactly.
- uses: cachix/install-nix-action@v24
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v14
with:
name: ghostty
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- name: Build Libghostty
run: nix develop -c zig build -Dapp-runtime=none
build-nix: build-nix:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: test needs: test