From c17f3136ecffe885975a11f8235c4d721b09ab84 Mon Sep 17 00:00:00 2001 From: Andrew Straw Date: Fri, 6 Dec 2024 06:42:14 +0100 Subject: [PATCH] ci: install ffmpeg using brew on mac --- .github/workflows/rust.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index ab1e7b3..4e2f339 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -29,8 +29,12 @@ jobs: - name: Build and test run: cargo test - name: Install FFMPEG + if: runner.os != 'macOS' uses: FedericoCarboni/setup-ffmpeg@v3 - id: setup-ffmpeg + - name: Install FFMPEG (macOS) + # See https://github.com/federicocarboni/setup-ffmpeg/issues/21 + if: runner.os == 'macOS' + run: brew install ffmpeg - name: Integration tests, including roundtrip through ffmpeg and openh264 # Limit tests to bit depth 8 until ffmpeg 5.1 is available. run: cd testbench && cargo test -- --skip mono12