From e97b6aeefb261d769d344dd9a7b9bec02d5ce10c Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 4 Apr 2024 21:35:20 -0700 Subject: [PATCH] ci: test macOS --- .github/workflows/test.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cd61bcff8..d516aaaf3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -277,6 +277,25 @@ jobs: - name: Test Dynamic Build run: nix develop -c zig build -Dstatic=false + test-macos: + runs-on: namespace-profile-ghostty-macos + 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@v26 + with: + nix_path: nixpkgs=channel:nixos-unstable + - uses: cachix/cachix-action@v14 + with: + name: ghostty + authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" + + - name: test + run: nix develop -c zig build test + prettier: runs-on: namespace-profile-ghostty-sm timeout-minutes: 60