Skip to content

Commit

Permalink
Added include and library paths for MacOS ARM brew configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
ruven committed May 30, 2024
1 parent 79a7663 commit 750d081
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,20 @@ jobs:


macos:
runs-on: macos-13
runs-on: macos-latest

steps:
- uses: actions/checkout@v3

- name: Install dependencies
run: brew install automake libtool fcgi libtiff openjpeg libmemcached libpng webp
run: brew install automake libtool fcgi libtiff openjpeg libmemcached libpng webp libomp

- name: Configure
run: |
./autogen.sh
export CFLAGS="-I/opt/homebrew/include"
export CPPFLAGS=${CFLAGS}
export LDFLAGS="-L/opt/homebrew/lib"
./configure
- name: Compile
Expand Down

0 comments on commit 750d081

Please sign in to comment.