From 81faae24397105e73539c19ff338c00e7e881514 Mon Sep 17 00:00:00 2001 From: Dirk Vanden Boer Date: Fri, 13 Sep 2024 22:03:16 +0200 Subject: [PATCH] Github actions: specify osx png path --- .github/workflows/build.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b9f8a12..3c777d7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,6 +25,10 @@ jobs: if: ${{ matrix.cfg.os == 'macos-latest' }} run: brew install ninja cmake ffmpeg - name: Build the code + if: ${{ matrix.cfg.os == 'macos-latest' }} + run: cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DPNG_LIBRARY_RELEASE=/opt/homebrew/lib/libpng.a && cmake --build build + - name: Build the code + if: ${{ matrix.cfg.os == 'ubuntu-latest' }} run: cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release && cmake --build build - name: Run the tests run: ctest --output-on-failure --test-dir build/