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

Harsher CI #4672

Merged
merged 7 commits into from
May 24, 2021
Merged

Harsher CI #4672

merged 7 commits into from
May 24, 2021

Conversation

dra27
Copy link
Member

@dra27 dra27 commented May 19, 2021

The builds of opam in CI should be done in dev mode.

My initial implementation simply used DUNE_PROFILE in the environment, but that's spawned ocaml/dune#4632, so I've instead added it to Makefile.config after configure is run. The two places where DUNE_PROFILE is used in the build system both set it with ?= (to allow an environment override) and also both read Makefile.config, so this will work. I also dealt with a TODO comment from #4545, in order to prevent any future accidental breakage of this.

dra27 added 5 commits May 18, 2021 17:39
This is done by adding a line to Makefile.config after configure, rather
than setting DUNE_PROFILE in the environment since other dune
invocations may read DUNE_PROFILE (e.g. in opam-rt dependencies).
@dra27 dra27 added this to the 2.1.0~rc milestone May 19, 2021
.github/scripts/main.sh Outdated Show resolved Hide resolved
@dra27 dra27 merged commit 22eb2ba into ocaml:master May 24, 2021
@dra27 dra27 deleted the harsher-ci branch May 24, 2021 20:49
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.

1 participant