Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
matyhtf committed May 29, 2024
1 parent 1491939 commit aebd784
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/ext.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,18 @@ jobs:
runs-on: macos-latest
steps:
- name: install dependencies
run: brew install openssl && brew link openssl && brew install curl && brew link curl && brew install c-ares && brew link c-ares
run: |
brew install openssl && brew link openssl
brew install curl && brew link curl
brew install c-ares && brew link c-ares
- uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
extensions: dom, curl, libxml, mbstring, zip, redis, pdo, pdo_mysql, bcmath
tools: phpize, composer:v2
coverage: none
- name: phpize
run: phpize
- name: build1
Expand All @@ -60,11 +70,11 @@ jobs:
make clean && make -j$(sysctl -n hw.ncpu)
- name: build6
run: ./configure --enable-sockets --enable-mysqlnd --enable-openssl --enable-swoole-curl --enable-debug-log
--with-openssl-dir=/usr/local/opt/openssl@1.1 &&
--with-openssl-dir=/usr/local/opt/openssl@3 &&
make clean && make -j$(sysctl -n hw.ncpu)
- name: build7
run: ./configure --enable-sockets --enable-mysqlnd --enable-openssl --enable-swoole-curl --enable-debug-log --enable-cares
--with-openssl-dir=/usr/local/opt/openssl@1.1 &&
--with-openssl-dir=/usr/local/opt/openssl@3 &&
make clean && make -j$(sysctl -n hw.ncpu)

build-alpine-latest:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/framework.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ jobs:
run: |
brew install openssl && brew link openssl
brew install c-ares && brew link c-ares
brew install curl && brew link curl
phpize
./configure --enable-openssl --with-openssl-dir=/usr/local/opt/openssl@3 --enable-mysqlnd --enable-swoole-curl --enable-cares
make -j$(sysctl -n hw.ncpu)
Expand Down

0 comments on commit aebd784

Please sign in to comment.