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 fddb762
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,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'

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

- name: Build Windows
shell: msys2 {0}
run: |
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,15 @@ 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"

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

0 comments on commit fddb762

Please sign in to comment.