1
1
mirror of https://github.com/coot/free-category.git synced 2024-10-26 15:15:00 +03:00

Build benchmarks on CI

This commit is contained in:
Marcin Szamotulski 2019-09-07 12:45:26 +02:00
parent 0e96a23ae2
commit cf86a6b64c
2 changed files with 5 additions and 4 deletions

View File

@ -40,7 +40,7 @@ jobs:
- run:
name: "GHC 865"
command: |
nix-build -A free-category -o result-fc --argstr compiler ghc865
nix-build -A free-category -o result-fc --arg benchmarks true --argstr compiler ghc865
nix-build -A examples -o result-ex --argstr compiler ghc865
- cachix-push:
o: result-fc
@ -53,7 +53,7 @@ jobs:
- run:
name: "GHC 844"
command: |
nix-build -A free-category -o result-fc --argstr compiler ghc844
nix-build -A free-category -o result-fc --arg benchmarks true --argstr compiler ghc844
nix-build -A examples -o result-ex --argstr compiler ghc844
- cachix-push:
o: result-fc
@ -66,7 +66,7 @@ jobs:
- run:
name: "GHC 822"
command: |
nix-build -A free-category -o result-fc --argstr compiler ghc822
nix-build -A free-category -o result-fc --arg benchmarks true --argstr compiler ghc822
nix-build -A examples -o result-ex --argstr compiler ghc822
- cachix-push:
o: result-fc
@ -80,7 +80,7 @@ jobs:
- run:
name: "GHC 802"
command: |
nix-build -A free-category -o result-fc --argstr compiler ghc802
nix-build -A free-category -o result-fc --arg benchmarks true --argstr compiler ghc802
nix-build -A examples -o result-ex --argstr compiler ghc802
- cachix-push:
o: result-fc

View File

@ -30,6 +30,7 @@ let
in
nixpkgs.lib.hasPrefix "src" relPath
|| nixpkgs.lib.hasPrefix "test" relPath
|| nixpkgs.lib.hasPrefix "bench" relPath
|| nixpkgs.lib.any
(a: a == relPath)
[ "Setup.hs" "cabal.project" "ChangeLog.md" "free-category.cabal" "LICENSE"];