1
1
mirror of https://github.com/coot/free-category.git synced 2024-11-26 21:33:47 +03:00
free-category/.github/workflows/posix.yml

33 lines
1.0 KiB
YAML
Raw Normal View History

2020-10-19 21:16:03 +03:00
name: "Haskell/CI"
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=
- name: "cachix"
2021-03-15 01:04:59 +03:00
uses: cachix/cachix-action@v8
with:
2020-10-18 12:51:52 +03:00
name: "free-algebras"
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
- name: "[GHC 8.10.4] free-category"
run: nix-build default.nix --argstr compiler ghc8104 -A free-category