Add GitHub Actions CI: build, test, docs on OCaml 5 - #1
Merged
Merged
Conversation
|
I'll fix CI failures and address comments. I'll skip comments containing "(aside)".
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
.github/workflows/ci.yml— the repo previously had no CI. On pushes tomainand on PRs, a singlebuildjob onubuntu-latest:ocaml/setup-ocaml@v3withocaml-compiler: "5"(latest OCaml 5.x) anddune-cache: true; setup-ocaml also caches the opam root/switch automatically.opam install . --deps-only --with-test, plusopam install melange odoc— melange is required becausesrc/dunedeclares(modes native byte melange)anddune-projecthas(using melange 0.1); odoc is needed for@doc.opam exec -- dune build(compiles all three modes),dune runtest,dune build @doc.Verified locally on OCaml 5.5.1: deps install, full build including the melange mode, 19/19 alcotest tests pass, and
@docbuilds clean.Link to Devin session: https://app.devin.ai/sessions/2470dfae4d7d4949971b8a58d50ba0cc
Open in Devin Desktop: https://app.devin.ai/desktop/session/2470dfae4d7d4949971b8a58d50ba0cc?variant=devin
Requested by: @tiensonqin