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

Set up Azure-CI #1238

Merged
merged 45 commits into from
Jun 29, 2019
Merged

Set up Azure-CI #1238

merged 45 commits into from
Jun 29, 2019

Conversation

samuelpilz
Copy link
Contributor

closes #993.

This is still a work in progress and I have setup one test-job. However, the job fails. See https://dev.azure.com/haskell-ide-engine/haskell-ide-engine-power-fungus/_build/results?buildId=24

I need help fixing the test. What is needed to successfully run the tests?

@samuelpilz samuelpilz mentioned this pull request May 3, 2019
@lukel97
Copy link
Collaborator

lukel97 commented May 3, 2019

Liquid Haskell needs to be installed for the functional tests, and IIRC in CircleCI it comes from the docker image

@samuelpilz
Copy link
Contributor Author

I have added liquidhaskell to the build, but it still fails.
See: https://dev.azure.com/haskell-ide-engine/haskell-ide-engine-power-fungus/_build/results?buildId=31

@fendor @bubba, any ideas?

@lukel97
Copy link
Collaborator

lukel97 commented May 5, 2019 via email

@samuelpilz
Copy link
Contributor Author

Will try.

@samuelpilz
Copy link
Contributor Author

Still no luck. The liquidhaskell-related tests still fail. See: https://dev.azure.com/haskell-ide-engine/haskell-ide-engine-power-fungus/_build/results?buildId=32

@samuelpilz
Copy link
Contributor Author

I am unable to get all liquidhaskell tests to work. I have tried your suggestions about liquidhaskell-0.8.2.4 and ghc-8.2.2 but the tests still fail. (https://dev.azure.com/haskell-ide-engine/haskell-ide-engine-power-fungus/_build/results?buildId=35)

Any other ideas?

@samuelpilz
Copy link
Contributor Author

Thanks to @fendor, the first build has just succeeded, see #1283.
Build: https://dev.azure.com/haskell-ide-engine/haskell-ide-engine-power-fungus/_build/results?buildId=38

Now, I will work on getting the build to work on all platforms with all ghc-versions

@jneira
Copy link
Member

jneira commented Jun 25, 2019

I've setup another pr that make the windows builds reach the run tests step.
The final test build will be this but the same config was tested here

@samuelpilz
Copy link
Contributor Author

For 8.6.2 and 8.6.1, the installation of the ghc fails on Mac. Is this a known issue with mac and these ghc versions?

@samuelpilz
Copy link
Contributor Author

with help of @jneira, we have managed to get the build working on all platforms and almost-all ghc-versions: https://dev.azure.com/haskell-ide-engine/haskell-ide-engine-power-fungus/_build/results?buildId=76

There is a catch: no tests are executed, since they fail almost everywhere. I suggest merging this PR and adopting azure as build-check. Getting the tests to work there should a PR of its own.

@samuelpilz samuelpilz changed the title WIP: Set up Azure-CI Set up Azure-CI Jun 27, 2019
@samuelpilz
Copy link
Contributor Author

I would consider this PR done as a first step.

@fendor fendor requested review from alanz and lukel97 June 27, 2019 15:24
@alanz
Copy link
Collaborator

alanz commented Jun 27, 2019

As far as I can tell this looks good, happy for it to go in as a base build.

Copy link
Collaborator

@lukel97 lukel97 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 awesome. So satisfying to see so many build configurations

@samuelpilz
Copy link
Contributor Author

I'll merge this PR since this the feedback has been positive.

@samuelpilz samuelpilz merged commit 0f697c8 into haskell:master Jun 29, 2019
@samuelpilz
Copy link
Contributor Author

I tried officially add this repository for a new pipeline. But I have not the access-rights to change the hooks of this repository.

There are 2 options:

  • I or @fendor get (temporary) access rights for hooks to this repository.
  • I invite some one with the appropriate access rights to the haskell-ide-engine team on azure-ci and that person adds the pipeline

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.

Use Azure for CI?
5 participants