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 github CI actions into 2 workflows + disable windows while it's broken #15535

Merged
merged 2 commits into from
Jan 24, 2022

Conversation

SkySkimmer
Copy link
Contributor

To be able to rerun one OS without rerunning the other.

To be able to rerun one OS without rerunning the other.
@SkySkimmer SkySkimmer requested a review from a team as a code owner January 24, 2022 12:39
@SkySkimmer SkySkimmer changed the title Split github CI actions into 2 workflows Split github CI actions into 2 workflows + disable windows while it's broken Jan 24, 2022
@Zimmi48
Copy link
Member

Zimmi48 commented Jan 24, 2022

Another way of disabling the Windows workflow would have been to call it ci-windows.yml.disabled. This would make the diff easier to review when a fix for the Windows CI is submitted.

@Zimmi48
Copy link
Member

Zimmi48 commented Jan 24, 2022

BTW, the reason why the Windows CI fails seems to be simply because the dev-ci branch has been removed. Can you try to simply replace dev-ci with main and see what this gives?

@SkySkimmer
Copy link
Contributor Author

BTW, the reason why the Windows CI fails seems to be simply because the dev-ci branch has been removed. Can you try to simply replace dev-ci with main and see what this gives?

Still not working (different error though)

@Zimmi48
Copy link
Member

Zimmi48 commented Jan 24, 2022

FWIW, the first error is the following one:

Run .\dev\ci\platform\coq-pf-03-build.bat
Install cygwin and download, compile and install OCaml and Coq for MinGW
!!! Illegal parameter -override-dev-pkg

The call is done in:

call coq_platform_make_windows.bat ^
-arch=%ARCH% ^
-destcyg=%CYGROOT% ^
-cygcache=%CYGCACHE% ^
-extent=i ^
-parallel=p ^
-jobs=2 ^
-switch=d ^
-override-dev-pkg="coq=%GITHUB_SERVER_URL%/%GITHUB_REPOSITORY%/archive/%GITHUB_SHA%.tar.gz" ^
-override-dev-pkg="coqide=%GITHUB_SERVER_URL%/%GITHUB_REPOSITORY%/archive/%GITHUB_SHA%.tar.gz" ^
|| GOTO ErrorExit

@MSoegtropIMC The Windows CI is failing for Coq because the dev-ci branch of the Platform repository has been removed, and it had an -override-dev-pkg option that is not there in the main branch. We will need your help to fix this (but this is OK to wait until after the next Platform release to take care of this, we can disable the CI job as proposed in this PR in the meantime).

@Zimmi48 Zimmi48 self-assigned this Jan 24, 2022
@Zimmi48 Zimmi48 added kind: ci-failure Information about unexpected and random CI failures. kind: infrastructure CI, build tools, development tools. part: CI The continuous integration system. and removed kind: ci-failure Information about unexpected and random CI failures. labels Jan 24, 2022
@Zimmi48 Zimmi48 added this to the 8.16+rc1 milestone Jan 24, 2022
@Zimmi48
Copy link
Member

Zimmi48 commented Jan 24, 2022

Will merge after confirming that macOS CI passes.

@MSoegtropIMC
Copy link
Contributor

MSoegtropIMC commented Jan 24, 2022

@Zimmi48 : OK, I cleaned up a bit too much. What would you recommend? I don't think I still want the dev-ci branch since it is effort to maintain it.

I now have a working dev pick, but it points to master for all packages.

I guess it would make sense to create a "ci" pick which honors the -override-dev-pkg option and/or possibly also takes the overlay information for -extent=f and -extent=x. @gares started something like this in coq/platform#44.

@Zimmi48
Copy link
Member

Zimmi48 commented Jan 24, 2022

@coqbot merge now

@coqbot-app coqbot-app bot merged commit 43a8494 into coq:master Jan 24, 2022
@Zimmi48
Copy link
Member

Zimmi48 commented Jan 24, 2022

@MSoegtropIMC Indeed, I agree that reintroducing the dev-ci branch is not a good solution. Furthermore, we don't need to test the full extent, just Coq + CoqIDE. And we can't just test the master branch of Coq, we need to be able to point to a local version to be able to test PRs. So basically, we just need an option similar to -override-dev-pkg to define specifically where to look for the source of Coq.

@MSoegtropIMC
Copy link
Contributor

OK, I will add a ci pick which at first only contains coq + coqide (f and x extents will be empty) and which honors the -override-dev-pkg flag.

In addition I would mid term like to have a pick which mimics Coq's CI. Any suggestions how these two picks should be named?

@Zimmi48
Copy link
Member

Zimmi48 commented Jan 24, 2022

"dev"?

@MSoegtropIMC
Copy link
Contributor

There is already a "dev" pick which uses the dev opam packages (that is default branch) for all packages.

In addition I propose to have two picks:

  • pick which is used in Coq's CI to test Coq and CoqIDE on Windows
  • pick which is intended for maintainers and creates a full Coq Platform using the same versions of all packages as Coq CI does.

For package maintainers the latter might be more useful than the dev pick. The dev pick is mostly for me to know where issues are.

Maybe

dev (opam .dev)
dev-coq (coq's ci pick)
ci-coq (for coq's CI)

@SkySkimmer SkySkimmer deleted the split-github-actions branch January 24, 2022 18:10
@Zimmi48
Copy link
Member

Zimmi48 commented Jan 24, 2022

Sounds good to me.

@SkySkimmer
Copy link
Contributor Author

Looks like I'm backporting this since it's also broken for 8.15

@SkySkimmer SkySkimmer removed this from the 8.16+rc1 milestone Feb 11, 2022
@SkySkimmer SkySkimmer added this to the 8.15.1 milestone Feb 11, 2022
SkySkimmer added a commit to SkySkimmer/coq that referenced this pull request Feb 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: infrastructure CI, build tools, development tools. part: CI The continuous integration system.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants