Skip to content

Commit

Permalink
GHA: install gpatch on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
kit-ty-kate committed May 13, 2024
1 parent ae9a087 commit bc29372
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,12 @@ jobs:
OPAM_TEST: 1
steps:
- uses: actions/checkout@v2
- name: install deps
- name: install deps - Linux
if: ${{ matrix.os == 'ubuntu-latest' }}
run: sudo apt install bubblewrap
- name: install deps - macOS
if: ${{ matrix.os == 'macos-latest' }}
run: brew install gpatch
- name: ocaml ${{ matrix.ocamlv }} cache - test
id: ocaml-cache-test
uses: actions/cache@v2
Expand Down Expand Up @@ -204,9 +207,12 @@ jobs:
OPAMBSROOT: ~/.cache/opam.${{ matrix.solver }}.cached
steps:
- uses: actions/checkout@v2
- name: install deps
- name: install deps - Linux
if: ${{ matrix.os == 'ubuntu-latest' }}
run: sudo apt install bubblewrap
- name: install deps - macOS
if: ${{ matrix.os == 'macos-latest' }}
run: brew install gpatch
- name: ocaml ${{ matrix.ocamlv }} cache - test
id: ocaml-cache-test
uses: actions/cache@v2
Expand Down Expand Up @@ -248,9 +254,12 @@ jobs:
ocamlv: [ 4.12.0 ]
fail-fast: false
steps:
- name: install deps
- name: install deps - Linux
if: ${{ matrix.os == 'ubuntu-latest' }}
run: sudo apt install bubblewrap
- name: install deps - macOS
if: ${{ matrix.os == 'macos-latest' }}
run: brew install gpatch
- uses: actions/checkout@v2
- name: opam 1.2 root cache
uses: actions/cache@v2
Expand Down

0 comments on commit bc29372

Please sign in to comment.