From ad8d2afd783718d48102f64305a9f7bdee62e69c Mon Sep 17 00:00:00 2001 From: Yishuai Li Date: Wed, 17 Jan 2024 22:07:40 +0000 Subject: [PATCH 1/2] CI: multiple OCaml versions --- .github/workflows/build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0909d048f..d0635d45b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,6 +27,9 @@ jobs: - '8.17' ocaml_version: - '4.14-flambda' + - '4.13-flambda' + - '4.12-flambda' + - '4.09-flambda' target: [ local, opam ] fail-fast: true From b3f2a125c369cf6dfc578cb3d8ad9428ced6a969 Mon Sep 17 00:00:00 2001 From: Yishuai Li Date: Thu, 25 Jan 2024 16:53:15 +0800 Subject: [PATCH 2/2] CI: fix concurrency and trim versions --- .github/workflows/build.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d0635d45b..3ec1ac624 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,14 +27,12 @@ jobs: - '8.17' ocaml_version: - '4.14-flambda' - - '4.13-flambda' - - '4.12-flambda' - '4.09-flambda' target: [ local, opam ] fail-fast: true concurrency: - group: ${{ github.workflow }}-${{ matrix.target }}-Ubuntu-${{ github.event_name }}-${{ github.head_ref || github.run_id }} + group: ${{ github.workflow }}-${{ matrix.ocaml_version }}-${{ matrix.target }}-Ubuntu-${{ github.event_name }}-${{ github.head_ref || github.run_id }} cancel-in-progress: true steps: