zig-objc/.github/workflows/test.yml
2024-11-03 15:08:31 -08:00

17 lines
485 B
YAML

on: [push, pull_request]
name: Test
jobs:
build:
runs-on: namespace-profile-ghostty-macos
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:nixos-unstable
# Cross-compile the binary. We always use static building for this
# because its the only way to access the headers.
- name: Test
run: nix develop -c zig build test --summary all