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

Split the CI for Cygwin into 2 jobs rather than 2 workflows #313

Merged
merged 2 commits into from
Mar 22, 2023

Conversation

shym
Copy link
Collaborator

@shym shym commented Mar 22, 2023

I finally found out that stating that the second job needs the first, it is not skipped. This allows us to get one workflow for the whole test suite on Cygwin (but unfortunately it can take quite some time, with 2 × 6 hours of timeout).

Revert to inputs.cygwin being a boolean since the two Cygwin workflows
are run sequentially (and hence the second workflow can no longer expect
the compiler to have been built and cached by the first workflow, since
trunk can be updated while the first part is running)
Use "needs:" to ensure they are sequentially (to reuse the compiler
built in the first part for the second) and still having a full 6 hours
timeout each
"always()" ensures that "part2" runs even if a test failed in "part1"
Copy link
Collaborator

@jmid jmid left a comment

Choose a reason for hiding this comment

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

Very nice - and nice code clean-up! 😃
(per tradition I'll let the CI finish before merging)

@jmid
Copy link
Collaborator

jmid commented Mar 22, 2023

All green - for the first time in a while! I'll merge immediately 😄

@jmid jmid merged commit 81faf0b into ocaml-multicore:main Mar 22, 2023
@shym shym deleted the cygwin-bis branch March 23, 2023 08:18
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