ci: test macOS

This commit is contained in:
Mitchell Hashimoto
2024-04-04 21:35:20 -07:00
parent eb4d21fcbf
commit e97b6aeefb

View File

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