2020-10-19 21:16:03 +03:00
|
|
|
name: "Haskell/CI"
|
2020-10-18 12:34:03 +03:00
|
|
|
on: [push]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
tests:
|
|
|
|
name: "free-category"
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2021-03-15 01:04:59 +03:00
|
|
|
- uses: cachix/install-nix-action@v12
|
|
|
|
with:
|
|
|
|
extra_nix_config: |
|
|
|
|
substituters = https://cache.nixos.org https://hydra.iohk.io
|
|
|
|
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=
|
2020-10-18 12:34:03 +03:00
|
|
|
- name: "cachix"
|
2021-03-15 01:04:59 +03:00
|
|
|
uses: cachix/cachix-action@v8
|
2020-10-18 12:34:03 +03:00
|
|
|
with:
|
2020-10-18 12:51:52 +03:00
|
|
|
name: "free-algebras"
|
2020-10-18 12:34:03 +03:00
|
|
|
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
|
|
|
|
|
|
|
|
- name: "cachix iohk"
|
|
|
|
run: cachix use iohk
|
|
|
|
|
|
|
|
- name: "[GHC 8.6.5] free-category"
|
|
|
|
run: |
|
|
|
|
nix-build default.nix --argstr compiler ghc865 -A free-category
|
|
|
|
|
|
|
|
- name: "[GHC 8.8.4] free-category"
|
|
|
|
run: nix-build default.nix --argstr compiler ghc884 -A free-category
|
|
|
|
|
2021-03-15 01:21:01 +03:00
|
|
|
- name: "[GHC 8.10.4] free-category"
|
|
|
|
run: nix-build default.nix --argstr compiler ghc8104 -A free-category
|