1
1
mirror of https://github.com/coot/free-category.git synced 2024-11-23 09:55:43 +03:00

Added circleci config file

This commit is contained in:
Marcin Szamotulski 2018-11-11 12:20:33 +01:00
parent adbb6c3550
commit 2aa4d66f23
No known key found for this signature in database
GPG Key ID: 788D56E52D63FAA4
2 changed files with 78 additions and 1 deletions

77
.circleci/config.yml Normal file
View File

@ -0,0 +1,77 @@
version: 2.1
defaults: &defaults
docker:
- image: nixos/nix
commands:
setup:
description: "setup environment"
steps:
- run:
name: "nix"
command: |
nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixpkgs
nix-channel --update
- run:
name: "install"
command: |
nix-env -f "<nixpkgs>" -iA cachix
nix-env -f "<nixpkgs>" -i openssh
nix-env -f "<nixpkgs>" -i git
- run:
name: "cachix"
command: |
cachix use free-algebras
- checkout
cachix-push:
description: "cachix push"
parameters:
o:
type: string
default: "./result"
steps:
- run:
name: "cachix push"
command: cachix push free-algebras ./result
jobs:
GHC861:
<<: *defaults
steps:
- setup
- run:
name: "GHC 861"
command:
nix-build --argstr compiler ghc861
- cachix-push
GHC844:
<<: *defaults
steps:
- setup
- run:
name: "GHC 844"
command: nix-build --argstr compiler ghc844
- cachix-push
GHC822:
<<: *defaults
steps:
- setup
- run:
name: "GHC 822"
command: nix-build --argstr compiler ghc822
- cachix-push
GHC802:
<<: *defaults
steps:
- setup
- run:
name: "GHC 802"
command: nix-build --argstr compiler ghc802
- cachix-push
workflows:
build:
jobs:
- GHC861
- GHC844
- GHC822
- GHC802

View File

@ -1,6 +1,6 @@
# Free Category
[![Maintainer: coot](https://img.shields.io/badge/maintainer-coot-lightgrey.svg)](http://github.com/coot)
[![Travis Build Status](https://travis-ci.org/coot/free-category.svg?branch=master)](https://travis-ci.org/coot/free-category)
[![CircleCI](https://circleci.com/gh/coot/free-category/tree/master.svg?style=svg)](https://circleci.com/gh/coot/free-category/tree/master)
This package introduces variouos encodings of free categories in Haskell.