mirror of
https://github.com/reanimate/reanimate.git
synced 2026-09-12 00:23:08 +00:00
Replace 'here' dependency with the lightweight 'neat-interpolation' (#106)
Misc improvements: * Add tasty-rerun * Extend CI coverage
This commit is contained in:
parent
d64e36fe05
commit
34aa5780ec
17 changed files with 155 additions and 91 deletions
|
|
@ -11,6 +11,10 @@ jobs:
|
|||
BUILD: stack
|
||||
STACK_YAML: stack.yaml
|
||||
ARGS: --pedantic
|
||||
stack-no-hmatrix:
|
||||
BUILD: stack
|
||||
STACK_YAML: stack.yaml
|
||||
ARGS: --flag reanimate:disable-hmatrix --flag reanimate:-test
|
||||
stack-lts-15:
|
||||
BUILD: stack
|
||||
STACK_YAML: stack-lts-15.yaml
|
||||
|
|
@ -25,16 +29,17 @@ jobs:
|
|||
STACK_YAML: stack-lts-12.yaml
|
||||
stack-nightly:
|
||||
BUILD: stack
|
||||
ARGS: --resolver nightly
|
||||
ARGS: --resolver nightly --flag reanimate:-test
|
||||
maxParallel: 6
|
||||
steps:
|
||||
- task: Cache@2
|
||||
inputs:
|
||||
key: ${{ parameters.name }} | ${{ parameters.vmImage }} | $(STACK_YAML) | stack-root | $(Agent.OS)
|
||||
key: ${{ parameters.name }} | ${{ parameters.vmImage }} | $(ARGS) | $(STACK_YAML) | stack-root | $(Agent.OS)
|
||||
path: $(STACK_ROOT)
|
||||
cacheHitVar: CACHE_RESTORED
|
||||
displayName: Cache stack root
|
||||
- script: |
|
||||
set -o xtrace
|
||||
#sudo add-apt-repository ppa:jonathonf/ffmpeg-4
|
||||
sudo apt-get update
|
||||
# sudo apt-get install libopenblas-dev libgfortran4
|
||||
|
|
@ -48,13 +53,16 @@ jobs:
|
|||
export PATH=$HOME/.local/bin:$PATH
|
||||
displayName: 'Setup'
|
||||
- script: |
|
||||
set -o xtrace
|
||||
stack --install-ghc build $ARGS --only-dependencies
|
||||
stack --install-ghc build --test $ARGS --flag reanimate:test --only-dependencies
|
||||
stack --install-ghc build $ARGS --test --flag reanimate:test --only-dependencies
|
||||
displayName: 'Install dependencies'
|
||||
- script: |
|
||||
set -o xtrace
|
||||
# stack ./examples/counter.hs check
|
||||
stack test --flag reanimate:test --test-arguments="-j2"
|
||||
stack test $ARGS --flag reanimate:test --test-arguments="-j2"
|
||||
displayName: 'Build & Test'
|
||||
- script: |
|
||||
stack haddock --no-haddock-deps
|
||||
set -o xtrace
|
||||
stack haddock --no-haddock-deps $ARGS
|
||||
displayName: 'Build documentation'
|
||||
|
|
|
|||
|
|
@ -27,8 +27,8 @@ jobs:
|
|||
displayName: Cache stack root
|
||||
- script: |
|
||||
# brew install gcc
|
||||
brew install blas
|
||||
brew install lapack
|
||||
# brew install blas
|
||||
# brew install lapack
|
||||
# brew install openblas
|
||||
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;
|
||||
|
|
|
|||
|
|
@ -7,16 +7,23 @@ jobs:
|
|||
vmImage: ${{ parameters.vmImage }}
|
||||
strategy:
|
||||
matrix:
|
||||
stack:
|
||||
BUILD: stack
|
||||
STACK_YAML: stack-lts-14.yaml
|
||||
ARGS: --pedantic
|
||||
# lts-16 and lts-15 fails due to segfaults. Think it is a GHC issue.
|
||||
# stack:
|
||||
# BUILD: stack
|
||||
# STACK_YAML: stack.yaml
|
||||
# ARGS: --pedantic
|
||||
# stack-lts-15:
|
||||
# BUILD: stack
|
||||
# STACK_YAML: stack-lts-15.yaml
|
||||
stack-lts-14:
|
||||
BUILD: stack
|
||||
STACK_YAML: stack-lts-14.yaml
|
||||
stack-lts-13:
|
||||
BUILD: stack
|
||||
STACK_YAML: stack-lts-13.yaml
|
||||
stack-lts-12:
|
||||
BUILD: stack
|
||||
STACK_YAML: stack-lts-12.yaml
|
||||
maxParallel: 6
|
||||
steps:
|
||||
- task: Cache@2
|
||||
|
|
@ -37,13 +44,13 @@ jobs:
|
|||
displayName: 'Setup'
|
||||
- bash: |
|
||||
set -o xtrace
|
||||
stack --install-ghc build $ARGS --no-keep-going --fast --only-dependencies --flag reanimate:hmatrix --flag hmatrix:openblas --extra-lib-dirs=$CONDA/Library/mingw-w64/bin
|
||||
stack --install-ghc test $ARGS --no-keep-going --fast --flag reanimate:test --only-dependencies --flag reanimate:hmatrix --flag hmatrix:openblas --extra-lib-dirs=$CONDA/Library/mingw-w64/bin
|
||||
stack --install-ghc build $ARGS --no-keep-going --fast --only-dependencies --flag reanimate:enable-hmatrix --flag hmatrix:openblas --extra-lib-dirs=$CONDA/Library/mingw-w64/bin
|
||||
stack --install-ghc test $ARGS --no-keep-going --fast --flag reanimate:test --only-dependencies --flag reanimate:enable-hmatrix --flag hmatrix:openblas --extra-lib-dirs=$CONDA/Library/mingw-w64/bin
|
||||
displayName: 'Install dependencies'
|
||||
- bash: |
|
||||
set -o xtrace
|
||||
# stack ./examples/counter.hs check
|
||||
stack test --flag reanimate:test --test-arguments="-j2" --fast --flag reanimate:hmatrix --flag hmatrix:openblas --extra-lib-dirs=$CONDA/Library/mingw-w64/bin
|
||||
stack test --flag reanimate:test --test-arguments="-j2" --fast --flag reanimate:enable-hmatrix --flag hmatrix:openblas --extra-lib-dirs=$CONDA/Library/mingw-w64/bin
|
||||
displayName: 'Build & Test'
|
||||
- bash: |
|
||||
# stack haddock --no-haddock-deps
|
||||
|
|
|
|||
Loading…
Reference in a new issue