mirror of
https://github.com/reanimate/reanimate.git
synced 2026-09-12 00:23:08 +00:00
Clean up CI scripts.
This commit is contained in:
parent
ae251e10d4
commit
5833157a0c
3 changed files with 19 additions and 17 deletions
|
|
@ -47,7 +47,7 @@ jobs:
|
|||
export PATH=$HOME/.local/bin:$PATH
|
||||
displayName: 'Setup'
|
||||
- script: |
|
||||
stack --install-ghc build --haddock $ARGS --only-dependencies
|
||||
stack --install-ghc build $ARGS --only-dependencies
|
||||
stack --install-ghc build --test $ARGS --flag reanimate:test --only-dependencies
|
||||
displayName: 'Install dependencies'
|
||||
- script: |
|
||||
|
|
@ -55,5 +55,5 @@ jobs:
|
|||
stack test --flag reanimate:test --test-arguments="-j2"
|
||||
displayName: 'Build & Test'
|
||||
- script: |
|
||||
stack haddock
|
||||
stack haddock --no-haddock-deps
|
||||
displayName: 'Build documentation'
|
||||
|
|
|
|||
|
|
@ -33,10 +33,15 @@ jobs:
|
|||
export PATH=$HOME/.local/bin:$PATH
|
||||
# Check if the cache has been corrupted. Delete it if it has.
|
||||
stack exec ghc -- --version || rm -fr $(STACK_ROOT)
|
||||
|
||||
stack --install-ghc test $ARGS --flag reanimate:test --only-dependencies
|
||||
stack ./examples/counter.hs check
|
||||
displayName: 'Setup'
|
||||
- script: |
|
||||
stack --install-ghc build $ARGS --only-dependencies
|
||||
stack --install-ghc build --test $ARGS --flag reanimate:test --only-dependencies
|
||||
displayName: 'Install dependencies'
|
||||
- script: |
|
||||
# stack ./examples/counter.hs check
|
||||
stack test --flag reanimate:test --test-arguments="-j2"
|
||||
env:
|
||||
OS_NAME: ${{ parameters.os }}
|
||||
displayName: 'Installation ${{parameters.os}} & Test'
|
||||
displayName: 'Build & Test'
|
||||
- script: |
|
||||
stack haddock --no-haddock-deps
|
||||
displayName: 'Build documentation'
|
||||
|
|
|
|||
|
|
@ -57,21 +57,18 @@ jobs:
|
|||
# export LIBRARY_PATH="`pwd`;$LIBRARY_PATH"
|
||||
curl -sSkL http://www.stackage.org/stack/windows-x86_64 -o /usr/bin/stack.zip
|
||||
unzip -o /usr/bin/stack.zip -d /usr/bin/
|
||||
env:
|
||||
OS_NAME: ${{ parameters.os }}
|
||||
displayName: 'Setup'
|
||||
- bash: |
|
||||
set -o xtrace
|
||||
stack --install-ghc build $ARGS --no-keep-going --fast --flag reanimate:-hmatrix --extra-lib-dirs="$CONDA/Library/bin/" --only-dependencies
|
||||
stack --install-ghc test $ARGS --no-keep-going --fast --flag reanimate:-hmatrix --flag reanimate:test --extra-lib-dirs="$CONDA/Library/bin/" --only-dependencies
|
||||
env:
|
||||
OS_NAME: ${{ parameters.os }}
|
||||
stack --install-ghc build $ARGS --no-keep-going --fast --only-dependencies
|
||||
stack --install-ghc test $ARGS --no-keep-going --fast --flag reanimate:test --only-dependencies
|
||||
displayName: 'Install dependencies'
|
||||
- bash: |
|
||||
set -o xtrace
|
||||
stack ./examples/counter.hs check
|
||||
rm examples/*.golden
|
||||
stack test --flag reanimate:test --flag reanimate:-hmatrix --test-arguments="-j2" --fast --extra-lib-dirs="$CONDA/Library/bin/"
|
||||
env:
|
||||
OS_NAME: ${{ parameters.os }}
|
||||
stack test --flag reanimate:test --test-arguments="-j2" --fast
|
||||
displayName: 'Build & Test'
|
||||
- script: |
|
||||
stack haddock --no-haddock-deps
|
||||
displayName: 'Build documentation'
|
||||
|
|
|
|||
Loading…
Reference in a new issue