# \#ci

**URL:** https://discuss.ocaml.org/tag/ci/179.md

[Latest](https://discuss.ocaml.org/latest.md) · [Categories](https://discuss.ocaml.org/categories.md) · [Tags](https://discuss.ocaml.org/tags.md)

---

## [GitHub CI execution times for OCaml projects](https://discuss.ocaml.org/t/github-ci-execution-times-for-ocaml-projects/17946)

<div class="topic-metadata">

**Author:** [@lindig](https://discuss.ocaml.org/u/lindig)\
**Replies:** 19\
**Last updated:** [September 19, 2026, 4:31pm UTC](https://discuss.ocaml.org/t/github-ci-execution-times-for-ocaml-projects/17946 "2026-09-19T16:31:54Z")

</div>

A workflow that takes seconds on my local machine takes 15 minutes or more on the GitHub CI because the whole world starting from the compiler is downloaded and compiled from sources. This is very different for a C proje…

---

## [Is https://check.ci.ocaml.org being deprecated?](https://discuss.ocaml.org/t/is-https-check-ci-ocaml-org-being-deprecated/18346)

<div class="topic-metadata">

**Author:** [@Kakadu](https://discuss.ocaml.org/u/Kakadu)\
**Replies:** 7\
**Last updated:** [July 29, 2026, 11:44am UTC](https://discuss.ocaml.org/t/is-https-check-ci-ocaml-org-being-deprecated/18346 "2026-07-29T11:44:25Z")

</div>

It looks like that last run was in 2025…

---

## [Dropping some intermediate OCaml versions from CI](https://discuss.ocaml.org/t/dropping-some-intermediate-ocaml-versions-from-ci/17947)

<div class="topic-metadata">

**Author:** [@avsm](https://discuss.ocaml.org/u/avsm)\
**Replies:** 14\
**Last updated:** [April 9, 2026, 8:50am UTC](https://discuss.ocaml.org/t/dropping-some-intermediate-ocaml-versions-from-ci/17947 "2026-04-09T08:50:38Z")

</div>

@xavierleroy recently observed the madness of well intentioned open source crowds: Right, we stopped supporting native-code compilation to 32-bit architectures in OCaml 5, but we’re good people, so we committed on main…

---

## [GitLab CI: Git exits with code 128](https://discuss.ocaml.org/t/gitlab-ci-git-exits-with-code-128/17037)

<div class="topic-metadata">

**Author:** [@Richard-Degenne](https://discuss.ocaml.org/u/Richard-Degenne)\
**Replies:** 6\
**Last updated:** [August 1, 2025, 8:11am UTC](https://discuss.ocaml.org/t/gitlab-ci-git-exits-with-code-128/17037 "2025-08-01T08:11:45Z")

</div>

Hello! I’m setting up a GitLab CI pipeline for a library, and it looks like OPAM fails to synchronize the source code from the Git repository as part of the opam install . --with-test command. faker is now pinned to gi…

---

## [Best practices for Gitlab runners for deployment](https://discuss.ocaml.org/t/best-practices-for-gitlab-runners-for-deployment/14862)

<div class="topic-metadata">

**Author:** [@TheoWinterhalter](https://discuss.ocaml.org/u/TheoWinterhalter)\
**Replies:** 6\
**Last updated:** [June 27, 2024, 7:02pm UTC](https://discuss.ocaml.org/t/best-practices-for-gitlab-runners-for-deployment/14862 "2024-06-27T19:02:41Z")

</div>

Hi, I was wondering what was the best approach to write a Gitlab runner script in order to install a few dependencies with opam, then run an ocaml project in order to publish what is produced (in my case a webpage). My …

---

## [Best practices for continuous integration (CI) in 2023](https://discuss.ocaml.org/t/best-practices-for-continuous-integration-ci-in-2023/12380)

<div class="topic-metadata">

**Author:** [@smolkaj](https://discuss.ocaml.org/u/smolkaj)\
**Replies:** 5\
**Last updated:** [October 9, 2023, 4:13am UTC](https://discuss.ocaml.org/t/best-practices-for-continuous-integration-ci-in-2023/12380 "2023-10-09T04:13:22Z")

</div>

What is the simplest/best way to set up continuous integration for projects using Dune + GitHub in 2023? The goal is to build and test my code for every PR, perhaps with a few different versions of OCaml and a few differ…

---

## [Users of opam-repo: what sort of change tracking would you like?](https://discuss.ocaml.org/t/users-of-opam-repo-what-sort-of-change-tracking-would-you-like/11590)

<div class="topic-metadata">

**Author:** [@avsm](https://discuss.ocaml.org/u/avsm)\
**Replies:** 0\
**Last updated:** [March 5, 2023, 5:25pm UTC](https://discuss.ocaml.org/t/users-of-opam-repo-what-sort-of-change-tracking-would-you-like/11590 "2023-03-05T17:25:03Z")

</div>

Dear users (of the opam-repository in particular, but also of the container images and various other pieces of infrastructure that we publish from ocaml.org), After that mouthful of an intro, just a brief note to solici…

---

## [GitHub Actions for OCaml: now stable and on the ocaml org](https://discuss.ocaml.org/t/github-actions-for-ocaml-now-stable-and-on-the-ocaml-org/7889)

<div class="topic-metadata">

**Author:** [@avsm](https://discuss.ocaml.org/u/avsm)\
**Replies:** 4\
**Last updated:** [June 20, 2022, 7:20pm UTC](https://discuss.ocaml.org/t/github-actions-for-ocaml-now-stable-and-on-the-ocaml-org/7889 "2022-06-20T19:20:04Z")

</div>

I announced a beta of OCaml/opam support for GitHub Actions back in Nov 2019, and the functionality has turned out to be popular. A number of projects in our community have been using the Action, and it can be found in t…

---

## [\# \[ANN\] OCaml+Opam Images for Docker for Windows](https://discuss.ocaml.org/t/ann-ocaml-opam-images-for-docker-for-windows/8179)

<div class="topic-metadata">

**Author:** [@Rucikir](https://discuss.ocaml.org/u/Rucikir)\
**Replies:** 14\
**Last updated:** [January 2, 2022, 9:34am UTC](https://discuss.ocaml.org/t/ann-ocaml-opam-images-for-docker-for-windows/8179 "2022-01-02T09:34:46Z")

</div>

\[ANN\] OCaml+opam Images for Docker for Windows Hello all, I’m glad to announce the availability of OCaml and opam native Windows Container images for Docker for Windows. This is the result of my hard work at Tarides, wi…

---

## [Which OCaml compiler versions should we run against in CI?](https://discuss.ocaml.org/t/which-ocaml-compiler-versions-should-we-run-against-in-ci/7933)

<div class="topic-metadata">

**Author:** [@shonfeder](https://discuss.ocaml.org/u/shonfeder)\
**Replies:** 2\
**Last updated:** [May 29, 2021, 12:11pm UTC](https://discuss.ocaml.org/t/which-ocaml-compiler-versions-should-we-run-against-in-ci/7933 "2021-05-29T12:11:57Z")

</div>

Which ocaml compiler versions should a responsible project aiming to maintain backwards compatibility include in its CI build matrix? I have seen that testing against 4.04.2 is the standard minimum version, but I’m not …

---

## [GitHub Actions for OCaml / opam now available](https://discuss.ocaml.org/t/github-actions-for-ocaml-opam-now-available/4745)

<div class="topic-metadata">

**Author:** [@avsm](https://discuss.ocaml.org/u/avsm)\
**Replies:** 16\
**Last updated:** [May 22, 2021, 7:18pm UTC](https://discuss.ocaml.org/t/github-actions-for-ocaml-opam-now-available/4745 "2021-05-22T19:18:51Z")

</div>

I was in the GitHub Actions beta program and forward ported my code to the latest version that just went public. It’s a pretty simple way to get your OCaml code tested on Linux, macOS and Windows, without requiring an e…

---

## [Basic GitLab CI configuration](https://discuss.ocaml.org/t/basic-gitlab-ci-configuration/3327)

<div class="topic-metadata">

**Author:** [@cemerick](https://discuss.ocaml.org/u/cemerick)\
**Replies:** 39\
**Last updated:** [February 13, 2021, 3:00pm UTC](https://discuss.ocaml.org/t/basic-gitlab-ci-configuration/3327 "2021-02-13T15:00:06Z")

</div>

I was looking for a basic gitlab CI configuration (e.g. suitable for internal libraries and end-user executables), but didn’t turn anything up. This works well enough as a foundation, perhaps others will find it useful: …

---

## [Removing "fat" compiler images on hub.docker.com/r/ocaml/opam2](https://discuss.ocaml.org/t/removing-fat-compiler-images-on-hub-docker-com-r-ocaml-opam2/6658)

<div class="topic-metadata">

**Author:** [@avsm](https://discuss.ocaml.org/u/avsm)\
**Replies:** 12\
**Last updated:** [January 22, 2021, 2:33pm UTC](https://discuss.ocaml.org/t/removing-fat-compiler-images-on-hub-docker-com-r-ocaml-opam2/6658 "2021-01-22T14:33:51Z")

</div>

When the container images on https://hub.docker.com/r/ocaml/opam2 were first assembled, the intention was to provide a distribution-specific image with all of the OCaml compilers available in a single image. This in turn…

---

## [\[ANN\] OCluster and OBuilder](https://discuss.ocaml.org/t/ann-ocluster-and-obuilder/7035)

<div class="topic-metadata">

**Author:** [@talex5](https://discuss.ocaml.org/u/talex5)\
**Replies:** 2\
**Last updated:** [January 2, 2021, 10:53am UTC](https://discuss.ocaml.org/t/ann-ocluster-and-obuilder/7035 "2021-01-02T10:53:27Z")

</div>

I’m pleased to announce the first release of OCluster. A user can submit a build job (either a Dockerfile or an OBuilder spec) to the scheduler, which then runs the build on a worker machine, streaming the logs back to t…

---

## [\[ANN\] opam-dune-lint - keep opam and dune dependencies in sync](https://discuss.ocaml.org/t/ann-opam-dune-lint-keep-opam-and-dune-dependencies-in-sync/7014)

<div class="topic-metadata">

**Author:** [@talex5](https://discuss.ocaml.org/u/talex5)\
**Replies:** 0\
**Last updated:** [December 24, 2020, 11:55am UTC](https://discuss.ocaml.org/t/ann-opam-dune-lint-keep-opam-and-dune-dependencies-in-sync/7014 "2020-12-24T11:55:23Z")

</div>

We’re pleased to announce the first release of opam-dune-lint. This little tool checks that every ocamlfind dependency listed in your dune files has the corresponding opam package listed as a dependency in your \*.opam fi…

---

## [PSA: ocaml/opam2 docker images updated to 4.08.0 release](https://discuss.ocaml.org/t/psa-ocaml-opam2-docker-images-updated-to-4-08-0-release/3948)

<div class="topic-metadata">

**Author:** [@avsm](https://discuss.ocaml.org/u/avsm)\
**Replies:** 15\
**Last updated:** [September 14, 2020, 4:46pm UTC](https://discuss.ocaml.org/t/psa-ocaml-opam2-docker-images-updated-to-4-08-0-release/3948 "2020-09-14T16:46:53Z")

</div>

The Docker images hosted at ocaml/opam2 have now been updated to include the latest OCaml 4.08.0 release as well as the snapshots of 4.09 and 4.10. One sideeffect of this is that the ocaml/opam2 default image now has OC…

---

## [OCaml and opam container images updated: new Fedora/Alpine/Ubuntu images](https://discuss.ocaml.org/t/ocaml-and-opam-container-images-updated-new-fedora-alpine-ubuntu-images/5539)

<div class="topic-metadata">

**Author:** [@avsm](https://discuss.ocaml.org/u/avsm)\
**Replies:** 0\
**Last updated:** [April 16, 2020, 11:41am UTC](https://discuss.ocaml.org/t/ocaml-and-opam-container-images-updated-new-fedora-alpine-ubuntu-images/5539 "2020-04-16T11:41:39Z")

</div>

The Docker ocaml and opam container images have been updated: Alpine 3.11, Fedora 31 and Ubuntu 20.04 (beta) are now included. Ubuntu 19.04 and Fedora 29 and 30 are now deprecated. OCaml 4.09.1 and 4.11.0~dev have been…

---

## [Travis CI + OCaml CI Scripts: There already is an installed switch named](https://discuss.ocaml.org/t/travis-ci-ocaml-ci-scripts-there-already-is-an-installed-switch-named/5154)

<div class="topic-metadata">

**Author:** [@ahanmal](https://discuss.ocaml.org/u/ahanmal)\
**Replies:** 5\
**Last updated:** [February 16, 2020, 4:29am UTC](https://discuss.ocaml.org/t/travis-ci-ocaml-ci-scripts-there-already-is-an-installed-switch-named/5154 "2020-02-16T04:29:56Z")

</div>

I’m using the ocaml/ocaml-ci-scripts installation script on Travis CI to setup an OCaml environment. The script has been working fine for months out of the box, but suddently, I’m starting to get \[ERROR\] There already is…

---

## [What are the best practices for setting up continuous integration for OCaml projects?](https://discuss.ocaml.org/t/what-are-the-best-practices-for-setting-up-continuous-integration-for-ocaml-projects/1499)

<div class="topic-metadata">

**Author:** [@leonidr](https://discuss.ocaml.org/u/leonidr)\
**Replies:** 15\
**Last updated:** [December 29, 2019, 12:24am UTC](https://discuss.ocaml.org/t/what-are-the-best-practices-for-setting-up-continuous-integration-for-ocaml-projects/1499 "2019-12-29T00:24:00Z")

</div>

I’d like to gather feedback and perhaps help curate documentation on what are the best practices for setting up CI for OCaml projects. Pardon my naivety in this area, but I figured that asking the experts and following a…

---

## [Multiple packages, single release](https://discuss.ocaml.org/t/multiple-packages-single-release/4438)

<div class="topic-metadata">

**Author:** [@Leonidas](https://discuss.ocaml.org/u/Leonidas)\
**Replies:** 4\
**Last updated:** [September 27, 2019, 5:25am UTC](https://discuss.ocaml.org/t/multiple-packages-single-release/4438 "2019-09-27T05:25:09Z")

</div>

Hi, I’m one of the co-maintainers of the ZMQ library. This library has one main part, zmq and two optional libraries, zmq-async and zmq-lwt. When we run our CI we want to try installing either of the optional packages. …

---

## [Opam 2 ppa available for Ubuntu Trusty/Xenial/Bionic/Cosmic now](https://discuss.ocaml.org/t/opam-2-ppa-available-for-ubuntu-trusty-xenial-bionic-cosmic-now/3122)

<div class="topic-metadata">

**Author:** [@avsm](https://discuss.ocaml.org/u/avsm)\
**Replies:** 0\
**Last updated:** [January 2, 2019, 2:11pm UTC](https://discuss.ocaml.org/t/opam-2-ppa-available-for-ubuntu-trusty-xenial-bionic-cosmic-now/3122 "2019-01-02T14:11:36Z")

</div>

After a couple of requests, I’ve refreshed the opam2 PPA infrastructure to make binary packages available for more variants of Ubuntu for the latest stable release of opam (2.0.2). The new support for Ubuntu Trusty and X…

---

## [Anyone tried OCamlot?](https://discuss.ocaml.org/t/anyone-tried-ocamlot/1596)

<div class="topic-metadata">

**Author:** [@Thegaram](https://discuss.ocaml.org/u/Thegaram)\
**Replies:** 2\
**Last updated:** [March 8, 2018, 8:38am UTC](https://discuss.ocaml.org/t/anyone-tried-ocamlot/1596 "2018-03-08T08:38:40Z")

</div>

Hi, I was wondering if anyone here has used OCamlot? What are your experiences? Pros/cons compared to Travis / other CI systems? Also, it seems like the development of OCamlot has been discontinued, any info on why? T…
