2- job: ${{ parameters.name }}
5 vmImage: ${{ parameters.vmImage }}
10 STACK_YAML: stack-lts-11.yaml
11 ARGS: "--resolver lts-11"
14 STACK_YAML: stack-lts-12.yaml
15 ARGS: "--resolver lts-12"
18 ARGS: "--resolver lts-14"
21 STACK_YAML: stack-nightly.yaml
22 ARGS: "--resolver nightly"
38 export STACK_ROOT="$(Build.SourcesDirectory)"/.stack-root;
40 curl -L https://get.haskellstack.org/stable/linux-x86_64.tar.gz | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
43 sudo add-apt-repository -y ppa:hvr/ghc
45 sudo apt-get install cabal-install-$CABALVER ghc-$GHCVER
46 # See note here: https://github.com/haskell-CI/haskell-ci#alex--happy-with-ghc--78
47 if [ "$GHCVER" = "head" ] || [ "${GHCVER%.*}" = "7.8" ] || [ "${GHCVER%.*}" = "7.10" ]; then
48 sudo apt-get install happy-1.19.4 alex-3.1.3
49 export PATH=/opt/alex/3.1.3/bin:/opt/happy/1.19.4/bin:$PATH
51 sudo apt-get install happy alex
53 export PATH=$HOME/.local/bin:/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$PATH
56 PACKAGES=$(stack --install-ghc query locals | grep '^ *path' | sed 's@^ *path:@@')
57 cabal install --only-dependencies --enable-tests --enable-benchmarks --force-reinstalls --ghc-options=-O0 --reorder-goals --max-backjumps=-1 $CABALARGS $PACKAGES
60 export PATH=$HOME/.local/bin:$PATH
61 stack --install-ghc $ARGS test --bench --only-dependencies
67 cabal install --enable-tests --enable-benchmarks --force-reinstalls --ghc-options=-O0 --reorder-goals --max-backjumps=-1 $CABALARGS $PACKAGES
73 cabal check || [ "$CABALVER" == "1.22" ] # https://github.com/yesodweb/wai/pull/754#issuecomment-504866279
75 PKGVER=$(cabal info . | awk '{print $2;exit}')
76 SRC_TGZ=$PKGVER.tar.gz
80 cabal configure --enable-tests --ghc-options -O0
82 cabal test --show-details=streaming
87 stack $ARGS test --bench --no-run-benchmarks --haddock --no-haddock-deps
92 OS_NAME: ${{ parameters.os }}
93 displayName: 'Installation ${{parameters.os}} & Test'
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list