From df778c610b62e693ba4cc4923c2d280db5a97781 Mon Sep 17 00:00:00 2001 From: Olivier Tilloy Date: Mon, 29 Apr 2024 22:55:08 +0200 Subject: [PATCH] CI: install GNU patch on MacOS (fixes #66) --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index be76d96..ddf2ea1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,6 +28,9 @@ jobs: steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable + - name: install GNU patch on MacOS + if: runner.os == 'macOS' + run: brew install gpatch - name: set up PATH on Windows # Needed to use GNU's patch.exe instead of Strawberry Perl patch if: runner.os == 'Windows' @@ -107,6 +110,9 @@ jobs: - name: rust toolchain ~ install uses: dtolnay/rust-toolchain@nightly + - name: install GNU patch on MacOS + if: runner.os == 'macOS' + run: brew install gpatch - name: set up PATH on Windows # Needed to use GNU's patch.exe instead of Strawberry Perl patch if: runner.os == 'Windows'