Skip to content

Add nix build to CI #40

Add nix build to CI

Add nix build to CI #40

Workflow file for this run

name: ArrayFire CI
on:
push:
branches:
- master
pull_request:
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v31
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- run: nix-channel --update
- name: Build and run tests
run: nix develop --command bash -c 'cabal test'