mirror of
https://github.com/haskell-nix/hnix.git
synced 2024-09-11 06:55:38 +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
|
||||
- MATCHING_TESTS=yes
|
||||
matrix:
|
||||
- GHCVERSION=ghc802 STRICT=false TRACING=false PROFILING=false
|
||||
- GHCVERSION=ghc802 STRICT=false TRACING=true PROFILING=true
|
||||
- GHCVERSION=ghc822 STRICT=true TRACING=false PROFILING=false
|
||||
- GHCVERSION=ghc822 STRICT=true TRACING=true PROFILING=false
|
||||
- GHCVERSION=ghc822 STRICT=true TRACING=true PROFILING=true
|
||||
- GHCVERSION=ghc842 STRICT=false TRACING=false PROFILING=false
|
||||
- GHCVERSION=ghc842 STRICT=false TRACING=true PROFILING=true
|
||||
- GHCVERSION=ghc802 STRICT=false TRACING=false
|
||||
- GHCVERSION=ghc802 STRICT=false TRACING=true
|
||||
- GHCVERSION=ghc822 STRICT=true TRACING=false
|
||||
- GHCVERSION=ghc822 STRICT=true TRACING=true
|
||||
- GHCVERSION=ghc842 STRICT=false TRACING=false
|
||||
- GHCVERSION=ghc842 STRICT=false TRACING=true
|
||||
- GHCVERSION=ghcjs
|
||||
|
||||
matrix:
|
||||
|
2
build.sh
2
build.sh
@ -6,14 +6,12 @@ IFS=$'\n\t'
|
||||
GHCVERSION=${GHCVERSION:-ghc822}
|
||||
STRICT=${STRICT:-false}
|
||||
TRACING=${TRACING:-false}
|
||||
PROFILING=${PROFILING:-false}
|
||||
|
||||
if [ "$GHCVERSION" = "ghcjs" ]; then
|
||||
nix-build --substituters 'https://nixcache.reflex-frp.org?trusted=1' ghcjs
|
||||
else
|
||||
nix-build \
|
||||
--argstr compiler $GHCVERSION \
|
||||
--arg doProfiling $PROFILING \
|
||||
--arg doTracing $TRACING \
|
||||
--arg doStrict $STRICT
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user