Merge pull request #259 from haskell/remove-redundant-circleci-steps

Remove redundant CircleCI steps
This commit is contained in:
Luke Lau 2020-07-31 14:52:28 +01:00 committed by GitHub
commit 3dbfa68bae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,14 +34,6 @@ defaults: &defaults
name: Stack setup
command: stack -j 2 --stack-yaml=${STACK_FILE} setup
- run:
name: Install happy
command: stack --stack-yaml=${STACK_FILE} install happy
- run:
name: Install Hoogle
command: stack -j 1 --stack-yaml=${STACK_FILE} install hoogle
- run:
name: Build (we need the exe for tests)
command: stack -j 1 --stack-yaml=${STACK_FILE} install
@ -57,20 +49,10 @@ defaults: &defaults
path: ~/.local/bin
destination: bin
- run:
name: Generate Hoogle database
command: if [ ! -d ~/.hoogle ]; then stack --stack-yaml=${STACK_FILE} exec hoogle generate; fi
- run:
name: Clear cabal-helper cache
command: rm -fr ~/.cache/cabal-helper
- save_cache:
key: stack-cache-{{ .Environment.HIE_CACHE }}-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "resolver.txt" }}
paths: &cache_paths
- ~/.stack
- ~/.cache
- ~/.hoogle
- ~/build/.stack-work
- ~/build/ghcide/.stack-work