Skip to content

Lets have a CI, so it builds and tests stuff #67

@Anton-Latukha

Description

@Anton-Latukha

In HNix I banged-out some pretty portable setup for Haskell:

it consists of:

  1. https://github.com/haskell-nix/hnix/blob/master/default.nix which exposes Nixpkgs haskell.lib API.
  2. https://github.com/haskell-nix/hnix/blob/master/build.sh which exposes Nixpkgs haskell.lib API.
  3. https://github.com/haskell-nix/hnix/blob/master/.travis.yml which exposes .., you know the shtick ...

That resulted in: https://travis-ci.org/github/haskell-nix/hnix

Which helped to have and keep proper cabal sdist.
And strict build on GHC 8.6.5 currently. So no no warnings in PRs.
Also Hackage Matrix: https://matrix.hackage.haskell.org/#/package/hnix

CI even does GHCJS build with Cachix.

I and Nix already made fell on all rakes we had, so everything is ironed-out now.


What do you think?
We can easily migrate this CI setup to GitHub Actions, I would be up for it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions