Skip to content

Update to LTS-12#51

Merged
pbrisbin merged 12 commits intopbrisbin:masterfrom
waddlaw:lts-12
Aug 1, 2018
Merged

Update to LTS-12#51
pbrisbin merged 12 commits intopbrisbin:masterfrom
waddlaw:lts-12

Conversation

@waddlaw
Copy link
Copy Markdown

@waddlaw waddlaw commented Jul 31, 2018

No description provided.

@pbrisbin
Copy link
Copy Markdown
Owner

Thanks! Seems like we might need to get lucky on CI. Sometimes with resolver bumps it doesn't have the resources to complete a cache-less build. Usually I can get something green on retries...

@pbrisbin
Copy link
Copy Markdown
Owner

It looks like we need to import Semigroup on compilers older than 8.4. If we want to keep supporting these non-latest versions we'll need CPP -- WDYT?

@waddlaw
Copy link
Copy Markdown
Author

waddlaw commented Aug 1, 2018

That makes sense. I will try support to lts-10, lts-11, lts-12.

@waddlaw waddlaw force-pushed the lts-12 branch 3 times, most recently from 51b6641 to d446caf Compare August 1, 2018 10:37
Copy link
Copy Markdown
Owner

@pbrisbin pbrisbin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for doing all this annoying CI work! This looks great to me... once it's Green :)

docker:
- image: fpco/stack-build:lts
# https://github.com/haskell-works/stack-build/blob/master/minimal/Dockerfile
- image: quay.io/haskell_works/stack-build-minimal
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! I didn't know about this.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes! very very fast! :)

weeder .
# hlint
curl -sL https://raw.github.com/ndmitchell/hlint/master/misc/travis.sh | sh -s -- --version
curl -sL https://raw.github.com/ndmitchell/hlint/master/misc/travis.sh | sh -s .
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you describe the benefits of using this custom script over the simpler:

stack install --copy-compiler-tool hlint weeder
stack exec hlint
stack exec weeder

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This script is able to use always latest version hlint (and weeder).

stack install --copy-compiler-tool hlint weeder

By above instruction is installed binaries of different version depends on that resolvers (STACK_YAML env).

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gotcha. I guess I could go either way: always latest sounds good, but using a tool appropriate for the compiler/dependencies versions under test could also be required in some edge-cases.

You've got it Green, so we can just go with this for now!

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point! Revert changes?

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, I think it's OK. We'll see how it goes.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK! :)

@pbrisbin pbrisbin merged commit 1c72ab5 into pbrisbin:master Aug 1, 2018
@waddlaw waddlaw deleted the lts-12 branch December 18, 2018 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants