mirror of
https://github.com/haskell-nix/hnix.git
synced 2024-11-04 13:00:34 +03:00
Disable profiling builds
This commit is contained in:
parent
9617c90a9e
commit
af4c52fa97
13
.travis.yml
13
.travis.yml
@ -15,13 +15,12 @@ env:
|
|||||||
- NIXPKGS_TESTS=yes
|
- NIXPKGS_TESTS=yes
|
||||||
- MATCHING_TESTS=yes
|
- MATCHING_TESTS=yes
|
||||||
matrix:
|
matrix:
|
||||||
- GHCVERSION=ghc802 STRICT=false TRACING=false PROFILING=false
|
- GHCVERSION=ghc802 STRICT=false TRACING=false
|
||||||
- GHCVERSION=ghc802 STRICT=false TRACING=true PROFILING=true
|
- GHCVERSION=ghc802 STRICT=false TRACING=true
|
||||||
- GHCVERSION=ghc822 STRICT=true TRACING=false PROFILING=false
|
- GHCVERSION=ghc822 STRICT=true TRACING=false
|
||||||
- GHCVERSION=ghc822 STRICT=true TRACING=true PROFILING=false
|
- GHCVERSION=ghc822 STRICT=true TRACING=true
|
||||||
- GHCVERSION=ghc822 STRICT=true TRACING=true PROFILING=true
|
- GHCVERSION=ghc842 STRICT=false TRACING=false
|
||||||
- GHCVERSION=ghc842 STRICT=false TRACING=false PROFILING=false
|
- GHCVERSION=ghc842 STRICT=false TRACING=true
|
||||||
- GHCVERSION=ghc842 STRICT=false TRACING=true PROFILING=true
|
|
||||||
- GHCVERSION=ghcjs
|
- GHCVERSION=ghcjs
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
|
2
build.sh
2
build.sh
@ -6,14 +6,12 @@ IFS=$'\n\t'
|
|||||||
GHCVERSION=${GHCVERSION:-ghc822}
|
GHCVERSION=${GHCVERSION:-ghc822}
|
||||||
STRICT=${STRICT:-false}
|
STRICT=${STRICT:-false}
|
||||||
TRACING=${TRACING:-false}
|
TRACING=${TRACING:-false}
|
||||||
PROFILING=${PROFILING:-false}
|
|
||||||
|
|
||||||
if [ "$GHCVERSION" = "ghcjs" ]; then
|
if [ "$GHCVERSION" = "ghcjs" ]; then
|
||||||
nix-build --substituters 'https://nixcache.reflex-frp.org?trusted=1' ghcjs
|
nix-build --substituters 'https://nixcache.reflex-frp.org?trusted=1' ghcjs
|
||||||
else
|
else
|
||||||
nix-build \
|
nix-build \
|
||||||
--argstr compiler $GHCVERSION \
|
--argstr compiler $GHCVERSION \
|
||||||
--arg doProfiling $PROFILING \
|
|
||||||
--arg doTracing $TRACING \
|
--arg doTracing $TRACING \
|
||||||
--arg doStrict $STRICT
|
--arg doStrict $STRICT
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user