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 d185700
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 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
8 changes: 7 additions & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +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'

- 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

0 comments on commit d185700

Please sign in to comment.