Skip to content

Commit

Permalink
install happy from a different lts
Browse files Browse the repository at this point in the history
  • Loading branch information
gelisam committed Dec 28, 2020
1 parent 8a19e26 commit cbd6e26
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,14 @@ jobs:
stack-setup-ghc: true
stack-no-global: true

# For some reason, installing happy from lts-8.0 fails unless some other
# version of happy is already in the PATH. So let's install a version of
# happy from an lts which does not have this problem.
- name: Install happy
if: matrix.stack_yaml == 'oldest-supported-lts.yaml'
run: |
stack --stack-yaml=stack.yaml install happy
- name: Build
run: |
stack --stack-yaml=${{ matrix.stack_yaml }} build --test --bench --no-run-tests --no-run-benchmarks
Expand Down

0 comments on commit cbd6e26

Please sign in to comment.