kxcdev/Build and test with ghcr.io/kxcinc/ocaml-general
Build and test OCaml projects using the ghcr.io/kxcinc/ocaml-general docker container
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jun 11, 2026
- License
- MIT
Pinned Snippet
uses: kxcdev/ocaml-general-gha@3790c9f45d3e30c1c75dfd64ceecf1c36802e70e # v2tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| report-test-result | — | no | true |
| pr-report-test-result | — | no | true |
| ocaml-version | — | — | 5.0.0 |
| node-version | — | — | latest |
| build-command | Override the default build command | no | dune build |
| test-command | Override the default test command | no | dune runtest |
| skip-testing | Whether or not to skip running the tests | no | false |
| setup-command | Override the default setup command | no | opam install . --yes --deps-only --with-test --verbose |
| skip-setup | Whether or not to skip running setups | no | false |
| with-odoc | Build odoc documents | no | false |
| odoc-build-command | Override the default odoc build command | no | dune build @doc |
| odoc-upload-artifact | — | no | true |
| odoc-upload-artifact-name | — | no | github-pages |
| odoc-deploy-github-pages | NOT YET SUPPORTED due to actions/runner#2009 | no | false |
Outputs
| name | description |
|---|---|
| odoc-site-path | !!(DUE TO actions/runner#2009, THIS IS OUTPUT IS NOT AVAILABLE) Path to odoc document site build result, if with-odoc is set to true |
| odoc-github-pages-url | !!(DUE TO actions/runner#2009, THIS IS OUTPUT IS NOT AVAILABLE) URL to deployed GitHub Pages by odoc |