Skip to content
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

Continuous integration on Windows and Linux #783

Merged
merged 1 commit into from
Jun 30, 2020
Merged

Continuous integration on Windows and Linux #783

merged 1 commit into from
Jun 30, 2020

Conversation

LaurentRDC
Copy link
Collaborator

@LaurentRDC LaurentRDC commented Jun 12, 2020

Hello,

This pull request is an extension of #779, following the discussion in #782.

The only change is related to the GH Workflow file, which configures CI on both Linux and Windows. Contrary to #779 , I can confirm that the CI works correctly.

This PR also activates CI builds for other PRs, so that the problem does not repeat :).

One thing to note. As mentioned in #782, CI builds on Windows using GHC 8.8.1 - 8.8.3 do not work reliably. See here and here. Therefore, until fixes are backported from GHC 8.10.*, Windows builds are using GHC 8.6.5.

@LaurentRDC
Copy link
Collaborator Author

LaurentRDC commented Jun 12, 2020

FYI the test that is failing on Windows is related to issues regarding removeDirectoryRecursive. See here (github.com/haskell/win32/pull/129) for a summary. Basically, trying to remove directories recursively too fast may fail with The directory is not empty.

Potential solutions are described here (github.com/haskell/directory/issues/96), but were never merged.

Edit: As suggested in haskell/win32/pull/129, adding a delay of 100 microseconds when deleting directories quickly on Windows fixes it.

author Laurent P. René de Cotret <[email protected]> 1590583199 -0400
committer Laurent P. René de Cotret <[email protected]> 1592074443 -0400

Updated CI workflow
@jaspervdj
Copy link
Owner

Thanks, this is awesome!

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.

2 participants