From 2f91864fe5c16c90bf53e7e1ca76e49a1e2871b3 Mon Sep 17 00:00:00 2001 From: Raja Boujbel Date: Wed, 31 May 2023 16:54:28 +0200 Subject: [PATCH] gha: install coreutils on macos test job --- .github/workflows/ci.ml | 1 + .github/workflows/main.yml | 2 ++ master_changes.md | 1 + 3 files changed, 4 insertions(+) diff --git a/.github/workflows/ci.ml b/.github/workflows/ci.ml index 907a8861f1f..4f3b4c82383 100644 --- a/.github/workflows/ci.ml +++ b/.github/workflows/ci.ml @@ -369,6 +369,7 @@ let main_test_job ~analyse_job ~build_linux_job ~build_windows_job:_ ~build_macO let host = host_of_platform platform in let ocamlv = "${{ matrix.ocamlv }}" in job ~oc ~workflow ?section ~runs_on:(Runner [runner]) ~env:[("OPAM_TEST", "1")] ~matrix ~needs ("Test-" ^ name_of_platform platform) + ++ only_on MacOS (install_sys_packages ["coreutils"] ~descr:"Install gnu coreutils" [MacOS]) ++ checkout () ++ only_on Linux (run "Install bubblewrap" ["sudo apt install bubblewrap"]) ++ cache Archives diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6a927500805..fbf157ad709 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -325,6 +325,8 @@ jobs: env: OPAM_TEST: 1 steps: + - name: Install gnu coreutils + run: brew install coreutils - name: Checkout tree uses: actions/checkout@v3 - name: src_ext/archives and opam-repository Cache diff --git a/master_changes.md b/master_changes.md index a7236725bf4..d0957faa1d3 100644 --- a/master_changes.md +++ b/master_changes.md @@ -104,6 +104,7 @@ users) ### Engine ## Github Actions + * Add coreutils install for cheksum validation tests [#5560 @rjbou] ## Doc