mirror of
https://github.com/IHaskell/IHaskell.git
synced 2025-04-18 12:26:08 +00:00
.github/workflows/nix.yml: init
This commit is contained in:
parent
65e0a18601
commit
d3a062a2c7
28
.github/workflows/nix.yml
vendored
Normal file
28
.github/workflows/nix.yml
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
name: "Nix"
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
versions:
|
||||
- compiler: 'ghc865'
|
||||
- compiler: 'ghc883'
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: cachix/install-nix-action@v8
|
||||
- uses: cachix/cachix-action@v6
|
||||
with:
|
||||
name: ihaskell
|
||||
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
|
||||
- run: |
|
||||
nix-build \
|
||||
-I nixpkgs=https://github.com/NixOS/nixpkgs-channels/tarball/nixos-20.03 \
|
||||
release.nix \
|
||||
--argstr compiler ${{ matrix.versions.compiler }}
|
||||
test/acceptance.nbconvert.sh result/bin/ihaskell-nbconvert
|
||||
|
Loading…
x
Reference in New Issue
Block a user