Skip to content

Commit

Permalink
fixup! fixup! Fix Cabal build
Browse files Browse the repository at this point in the history
  • Loading branch information
EduardSergeev committed May 13, 2021
1 parent 81eefe8 commit b3428c3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .azure/azure-linux-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ jobs:
export PATH=$HOME/.local/bin:/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$PATH
cabal --version
cabal update
PACKAGES=$(stack --install-ghc query locals | grep '^ *path' | sed 's@^ *path:@@')
cabal install --only-dependencies --ghc-options=-O0 --reorder-goals --max-backjumps=-1 $CABALARGS $PACKAGES
cabal install --only-dependencies --ghc-options=-O0 --reorder-goals --max-backjumps=-1 $CABALARGS
cabal install --enable-tests --enable-benchmarks --ghc-options=-O0 --reorder-goals --max-backjumps=-1 $CABALARGS
;;
*)
Expand Down
2 changes: 1 addition & 1 deletion .azure/azure-osx-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
mkdir -p ~/.local/bin
curl -skL https://get.haskellstack.org/stable/osx-x86_64.tar.gz | tar xz --strip-components=1 --include '*/stack' -C ~/.local/bin;
export PATH=$HOME/.local/bin:$PATH
stack --install-ghc $ARGS test --bench --only-dependencies
stack --install-ghc $ARGS build -only-dependencies
stack $ARGS test --bench --no-run-benchmarks --haddock --no-haddock-deps
env:
OS_NAME: ${{ parameters.os }}
Expand Down
2 changes: 1 addition & 1 deletion .azure/azure-windows-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
curl -sSkL http://www.stackage.org/stack/windows-x86_64 -o /usr/bin/stack.zip
unzip -o /usr/bin/stack.zip -d /usr/bin/
stack setup $ARGS > /dev/null
stack --install-ghc $ARGS test --bench --only-dependencies
stack --install-ghc $ARGS build --only-dependencies
stack $ARGS test --bench --no-run-benchmarks --no-run-tests
stack $ARGS test --bench --no-run-benchmarks --jobs 1 # non-parallel test execution
env:
Expand Down

0 comments on commit b3428c3

Please sign in to comment.