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/