Skip to content

Commit

Permalink
gha: install coreutils on macos test job
Browse files Browse the repository at this point in the history
  • Loading branch information
rjbou committed Aug 22, 2023
1 parent 497939e commit 58abe26
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.ml
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions master_changes.md
Expand Up @@ -104,6 +104,7 @@ users)
### Engine

## Github Actions
* Add coreutils install for cheksum validation tests [#5560 @rjbou]

## Doc

Expand Down

0 comments on commit 58abe26

Please sign in to comment.