on: [push, pull_request] name: Test jobs: build: runs-on: macos-12 env: # Needed for macos SDK AGREE: "true" 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@v23 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