Skip to content

Commit

Permalink
Try to fix macOS build
Browse files Browse the repository at this point in the history
It can't find `webp/demux.h` any more for some reason.
  • Loading branch information
rohansingh committed Apr 26, 2024
1 parent 0cf81a4 commit efe69ac
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,17 @@ jobs:
- name: Build frontend
run: npm run build

- name: Build
- name: Build Linux
run: make build
if: matrix.os == 'ubuntu-22.04' || matrix.os == 'macos-latest'

- name: Build macOS
run: make build
if: matrix.os == 'macos-latest'
env:
CGO_CPPFLAGS: "-I/opt/homebrew/include"
LIBRARY_PATH: "-L/opt/homebrew/lib"

- name: Build Windows
shell: msys2 {0}
run: |
Expand Down
11 changes: 9 additions & 2 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,16 @@ jobs:
- name: Build frontend
run: npm run build

- name: Build
- name: Build Linux
run: make build
if: matrix.os == 'ubuntu-22.04' || matrix.os == 'macos-latest'
if: matrix.os == 'ubuntu-22.04'

- name: Build macOS
run: make build
if: matrix.os == 'macos-latest'
env:
CGO_CPPFLAGS: "-I/opt/homebrew/include"
LIBRARY_PATH: "-L/opt/homebrew/lib"

- name: Build Windows
shell: msys2 {0}
Expand Down

0 comments on commit efe69ac

Please sign in to comment.