~samhh/unerf

d0f33b54888f2b32310c976ffd8360f527bf210e — Sam A. Horvath-Hunt 3 months ago 72b0d46
Add CI tests

Running CI in Arch didn't work with ghcup, and with NixOS currently
using the same versions of everything (GHC 8.10.4, Cabal 3.4.0.0) it's
the easiest solution.
1 files changed, 8 insertions(+), 2 deletions(-)

M .build.yml
M .build.yml => .build.yml +8 -2
@@ 1,8 1,14 @@
image: archlinux
image: nixos/21.05
packages:
    - hlint-bin
    - nixos.cabal-install
    - nixos.ghc
    - nixos.hlint
tasks:
    - lint: |
        cd unerf
        hlint lib/ exec/ test/
    - test: |
        cd unerf
        cabal update
        cabal test