1
1
mirror of https://github.com/coot/free-category.git synced 2024-08-16 09:30:46 +03:00

Added release.nix file

This commit is contained in:
Marcin Szamotulski 2019-10-07 10:23:48 +00:00
parent c5d626e3a5
commit 385c6511aa
2 changed files with 24 additions and 10 deletions

View File

@ -42,8 +42,8 @@ jobs:
- run:
name: "GHC 881"
command: |
nix-build -A free-category --argstr compiler ghc881 -o result-fc
nix-build -A examples --argstr compiler ghc881 -o result-ex
nix-build release.nix -A free-category --argstr compiler ghc881 -o result-fc
nix-build release.nix -A examples --argstr compiler ghc881 -o result-ex
- cachix-push:
o: "./result-fc"
- cachix-push:
@ -55,8 +55,8 @@ jobs:
- run:
name: "GHC 865"
command: |
nix-build -A free-category -o result-fc --arg benchmarks true --argstr compiler ghc865
nix-build -A examples -o result-ex --argstr compiler ghc865
nix-build release.nix -A free-category --argstr compiler ghc865 -o result-fc
nix-build release.nix -A examples --argstr compiler ghc865 -o result-ex
- cachix-push:
o: result-fc
- cachix-push:
@ -68,8 +68,8 @@ jobs:
- run:
name: "GHC 844"
command: |
nix-build -A free-category -o result-fc --arg benchmarks true --argstr compiler ghc844
nix-build -A examples -o result-ex --argstr compiler ghc844
nix-build release.nix -A free-category -o result-fc --argstr compiler ghc844
nix-build release.nix -A examples -o result-ex --argstr compiler ghc844
- cachix-push:
o: result-fc
- cachix-push:
@ -81,8 +81,8 @@ jobs:
- run:
name: "GHC 822"
command: |
nix-build -A free-category -o result-fc --arg benchmarks true --argstr compiler ghc822
nix-build -A examples -o result-ex --argstr compiler ghc822
nix-build release.nix -A free-category -o result-fc --argstr compiler ghc822
nix-build release.nix -A examples -o result-ex --argstr compiler ghc822
- cachix-push:
o: result-fc
- cachix-push:
@ -95,8 +95,8 @@ jobs:
- run:
name: "GHC 802"
command: |
nix-build -A free-category -o result-fc --arg benchmarks true --argstr compiler ghc802
nix-build -A examples -o result-ex --argstr compiler ghc802
nix-build release.nix -A free-category --argstr compiler ghc802 -o result-fc
nix-build release.nix -A examples --argstr compiler ghc802 -o result-ex
- cachix-push:
o: result-fc
- cachix-push:

14
release.nix Normal file
View File

@ -0,0 +1,14 @@
{ compiler }:
with builtins;
let default = import ./default.nix
{ haddock = true;
test = true;
benchmarks = true;
dev = true;
inherit compiler;
};
in
{ free-category = default.free-category;
examples = default.examples;
}