Skip to content

Add darwin build and dev support. #65

Add darwin build and dev support.

Add darwin build and dev support. #65

Workflow file for this run

name: ArrayFire CI
on:
push:
branches:
- master
pull_request:
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
jobs:
build:
strategy:
matrix:
# macos-13 is the last x86_64 runner; ArrayFire only ships an x86_64
# macOS binary, so the flake has no aarch64-darwin (macos-latest) build.
os: [ubuntu-latest, macos-13]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v31
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Build and run tests
run: nix build -L