Skip to content

Commit 6be9b49

Browse files
committed
Add CI
1 parent 971bae0 commit 6be9b49

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

Diff for: .github/workflows/main.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: test matrix
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
8+
env:
9+
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
if: github.ref != 'refs/heads/master'
15+
steps:
16+
- uses: cachix/install-nix-action@v22
17+
with:
18+
nix_path: nixpkgs=channel:nixos-unstable
19+
- name: Cancel Previous Runs
20+
uses: styfle/[email protected]
21+
with:
22+
access_token: ${{ github.token }}
23+
- name: Build and Test
24+
run: nix build .#haskell.ghc96.arrayfire

0 commit comments

Comments
 (0)