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:
parent
adbb6c3550
commit
2aa4d66f23
77
.circleci/config.yml
Normal file
77
.circleci/config.yml
Normal 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
|
||||
|
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user