mirror of
https://github.com/coot/free-category.git
synced 2024-10-26 15:15:00 +03:00
Added release.nix file
This commit is contained in:
parent
c5d626e3a5
commit
385c6511aa
@ -42,8 +42,8 @@ jobs:
|
|||||||
- run:
|
- run:
|
||||||
name: "GHC 881"
|
name: "GHC 881"
|
||||||
command: |
|
command: |
|
||||||
nix-build -A free-category --argstr compiler ghc881 -o result-fc
|
nix-build release.nix -A free-category --argstr compiler ghc881 -o result-fc
|
||||||
nix-build -A examples --argstr compiler ghc881 -o result-ex
|
nix-build release.nix -A examples --argstr compiler ghc881 -o result-ex
|
||||||
- cachix-push:
|
- cachix-push:
|
||||||
o: "./result-fc"
|
o: "./result-fc"
|
||||||
- cachix-push:
|
- cachix-push:
|
||||||
@ -55,8 +55,8 @@ jobs:
|
|||||||
- run:
|
- run:
|
||||||
name: "GHC 865"
|
name: "GHC 865"
|
||||||
command: |
|
command: |
|
||||||
nix-build -A free-category -o result-fc --arg benchmarks true --argstr compiler ghc865
|
nix-build release.nix -A free-category --argstr compiler ghc865 -o result-fc
|
||||||
nix-build -A examples -o result-ex --argstr compiler ghc865
|
nix-build release.nix -A examples --argstr compiler ghc865 -o result-ex
|
||||||
- cachix-push:
|
- cachix-push:
|
||||||
o: result-fc
|
o: result-fc
|
||||||
- cachix-push:
|
- cachix-push:
|
||||||
@ -68,8 +68,8 @@ jobs:
|
|||||||
- run:
|
- run:
|
||||||
name: "GHC 844"
|
name: "GHC 844"
|
||||||
command: |
|
command: |
|
||||||
nix-build -A free-category -o result-fc --arg benchmarks true --argstr compiler ghc844
|
nix-build release.nix -A free-category -o result-fc --argstr compiler ghc844
|
||||||
nix-build -A examples -o result-ex --argstr compiler ghc844
|
nix-build release.nix -A examples -o result-ex --argstr compiler ghc844
|
||||||
- cachix-push:
|
- cachix-push:
|
||||||
o: result-fc
|
o: result-fc
|
||||||
- cachix-push:
|
- cachix-push:
|
||||||
@ -81,8 +81,8 @@ jobs:
|
|||||||
- run:
|
- run:
|
||||||
name: "GHC 822"
|
name: "GHC 822"
|
||||||
command: |
|
command: |
|
||||||
nix-build -A free-category -o result-fc --arg benchmarks true --argstr compiler ghc822
|
nix-build release.nix -A free-category -o result-fc --argstr compiler ghc822
|
||||||
nix-build -A examples -o result-ex --argstr compiler ghc822
|
nix-build release.nix -A examples -o result-ex --argstr compiler ghc822
|
||||||
- cachix-push:
|
- cachix-push:
|
||||||
o: result-fc
|
o: result-fc
|
||||||
- cachix-push:
|
- cachix-push:
|
||||||
@ -95,8 +95,8 @@ jobs:
|
|||||||
- run:
|
- run:
|
||||||
name: "GHC 802"
|
name: "GHC 802"
|
||||||
command: |
|
command: |
|
||||||
nix-build -A free-category -o result-fc --arg benchmarks true --argstr compiler ghc802
|
nix-build release.nix -A free-category --argstr compiler ghc802 -o result-fc
|
||||||
nix-build -A examples -o result-ex --argstr compiler ghc802
|
nix-build release.nix -A examples --argstr compiler ghc802 -o result-ex
|
||||||
- cachix-push:
|
- cachix-push:
|
||||||
o: result-fc
|
o: result-fc
|
||||||
- cachix-push:
|
- cachix-push:
|
||||||
|
14
release.nix
Normal file
14
release.nix
Normal 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;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user