Skip to content

Remove redundant CircleCI steps #259

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 31, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down