Skip to content

Commit

Permalink
Github actions: specify osx png path
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkvdb committed Sep 13, 2024
1 parent 412009f commit 81faae2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down

0 comments on commit 81faae2

Please sign in to comment.