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

34 lines
1.0 KiB
YAML
Raw Normal View History

name: "POSIX"
on: [push]
jobs:
tests:
name: "free-category"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v10
- name: "cachix"
uses: cachix/cachix-action@v6
with:
2020-10-18 12:51:52 +03:00
name: "free-algebras"
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
- name: "nix"
run: |
echo 'substituters = https://hydra.iohk.io/' | sudo tee -a /etc/nix/nix.conf
echo 'trusted-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=' | sudo tee -a /etc/nix/nix.conf
- 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.2] free-category"
run: nix-build default.nix --argstr compiler ghc8102 -A free-category