Skip to content

Commit

Permalink
put macos-13 back to old homebrew
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-h committed Jun 12, 2024
1 parent 937d17b commit c5aeacb
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
- 1.26.x
steps:
- name: Install dependencies
run: brew install gsed jansson jq openssl@1.1 pcre zlib
run: brew install gsed jansson jq openssl@3 pcre zlib

- name: Checkout master branch
uses: actions/checkout@v4
Expand All @@ -99,15 +99,15 @@ jobs:
# we have to remove them to give it no other option than using static.
- name: Remove dylibs
run: |
rm /opt/homebrew/opt/jansson/lib/*.dylib
rm /opt/homebrew/opt/openssl/lib/*.dylib
rm /opt/homebrew/opt/pcre/lib/*.dylib
rm /opt/homebrew/opt/zlib/lib/*.dylib
rm /usr/local/opt/jansson/lib/*.dylib
rm /usr/local/opt/openssl/lib/*.dylib
rm /usr/local/opt/pcre/lib/*.dylib
rm /usr/local/opt/zlib/lib/*.dylib
- name: Build nginx
env:
CFLAGS: ${{ env.CFLAGS }} -I/opt/homebrew/opt/jansson/include -I/opt/homebrew/opt/openssl/include -I/opt/homebrew/opt/pcre/include -I/opt/homebrew/opt/zlib/include
LDFLAGS: ${{ env.DARWIN_LDFLAGS }} -L/opt/homebrew/opt/jansson/lib -L/opt/homebrew/opt/openssl/lib -L/opt/homebrew/opt/pcre/lib -L/opt/homebrew/opt/zlib/lib
CFLAGS: ${{ env.CFLAGS }} -I/usr/local/opt/jansson/include -I/usr/local/opt/openssl/include -I/usr/local/opt/pcre/include -I/usr/local/opt/zlib/include
LDFLAGS: ${{ env.DARWIN_LDFLAGS }} -L/usr/local/opt/jansson/lib -L/usr/local/opt/openssl/lib -L/usr/local/opt/pcre/lib -L/usr/local/opt/zlib/lib
run: ./master/scripts/build-nginx

- name: Upload nginx binary to artifacts
Expand Down

0 comments on commit c5aeacb

Please sign in to comment.