Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Improvements of install script and macos-installhs-cabal new azure job #1665

Merged
merged 17 commits into from
Feb 27, 2020

Conversation

jneira
Copy link
Member

@jneira jneira commented Feb 24, 2020

  • Add job to test the build of install.hs with macos and cabal
  • Improvements over install.hs:
    • Remove unused imports
    • Pass number of jobs and verbosity shake args to build tools
    • Use custom cabal.project-${ghcVersion} if exists
      • I added cabal.project-ghc-8.8.2 that will be used by the script
    • Add comments with the possible resolvers to shake.yaml

I am not sure about the "pass number of jobs and verbosity shake args to build tools". It is a cheap way to let users control the number of jobs and verbosity but they are shared between the run of the script itself and the calls to build tools.

Fixes some warts described in #1664

@jneira jneira requested a review from fendor February 24, 2020 20:41
@jneira jneira changed the title Imrovements of install script and macos-installhs-cabal new azure job Improvements of install script and macos-installhs-cabal new azure job Feb 26, 2020
@jneira
Copy link
Member Author

jneira commented Feb 26, 2020

Finally i removed the sharing between the jobs arg of shake and the build tool: the output of shake with more than one job was interleaved and, in general, we will want different values of jobs for shake and stack/cabal frequently.

Copy link
Collaborator

@fendor fendor left a comment

Choose a reason for hiding this comment

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

This is a lot to review. I will not have time for a review in the next days, so, I trust your judgement! If you wait long enough until next week, I will try to review it, but you dont have to :)
If you want to merge, you can :)

@jneira
Copy link
Member Author

jneira commented Feb 26, 2020

My mistake was mix azure and install changes so the pr is bigger than necessary

@jneira
Copy link
Member Author

jneira commented Feb 27, 2020

Well all ci is green (including install.hs jobs) and some changes are needed to make easier ghc-8.8.3 support, so i am gonna merge it

@jneira jneira merged commit c584f98 into haskell:master Feb 27, 2020
@jneira jneira deleted the azure-macos branch February 27, 2020 06:59
jneira added a commit to haskell/haskell-language-server that referenced this pull request Mar 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants