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