Skip to content

Commit df778c6

Browse files
committed
CI: install GNU patch on MacOS (fixes #66)
1 parent d92132e commit df778c6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yml

+6
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ jobs:
2828
steps:
2929
- uses: actions/checkout@v4
3030
- uses: dtolnay/rust-toolchain@stable
31+
- name: install GNU patch on MacOS
32+
if: runner.os == 'macOS'
33+
run: brew install gpatch
3134
- name: set up PATH on Windows
3235
# Needed to use GNU's patch.exe instead of Strawberry Perl patch
3336
if: runner.os == 'Windows'
@@ -107,6 +110,9 @@ jobs:
107110
108111
- name: rust toolchain ~ install
109112
uses: dtolnay/rust-toolchain@nightly
113+
- name: install GNU patch on MacOS
114+
if: runner.os == 'macOS'
115+
run: brew install gpatch
110116
- name: set up PATH on Windows
111117
# Needed to use GNU's patch.exe instead of Strawberry Perl patch
112118
if: runner.os == 'Windows'

0 commit comments

Comments
 (0)