-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Add macos-14 to the push and nightly workflows #13299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 11 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
810aa3d
Add macos-14 to the push workflow
shivammathur 876a1f4
Remove hardcoded brew path in configure-macos action
shivammathur 19300de
Include architecture in macos job name
shivammathur 8a0ba58
Add os to ccache-action in macos job
shivammathur 92a0adc
Add libsodium in brew action
shivammathur eb1726d
Add fail-fast to macos matrix
shivammathur c1c8267
Add macos-14 to the nightly workflow
shivammathur 8d14460
Fix adding bison to PATH in workflows
shivammathur 5431927
Fix architecture
shivammathur e693d30
Use version to compare in nightly_matrix.php
shivammathur a92770e
Make sure test-macos artifacts have unique name
shivammathur 8d90d86
Update .github/nightly_matrix.php
shivammathur File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,6 +31,7 @@ runs: | |
tidy-html5 \ | ||
libxml2 \ | ||
libjpeg \ | ||
libsodium \ | ||
libxslt \ | ||
postgresql | ||
brew link icu4c gettext --force |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,24 +9,25 @@ runs: | |
- shell: bash | ||
run: | | ||
set -x | ||
export PATH="/usr/local/opt/bison/bin:$PATH" | ||
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/[email protected]/lib/pkgconfig" | ||
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/curl/lib/pkgconfig" | ||
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/krb5/lib/pkgconfig" | ||
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/libffi/lib/pkgconfig" | ||
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/libxml2/lib/pkgconfig" | ||
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/libxslt/lib/pkgconfig" | ||
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/zlib/lib/pkgconfig" | ||
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/icu4c/lib/pkgconfig" | ||
BREW_OPT="$(brew --prefix)"/opt | ||
export PATH="$BREW_OPT/bison/bin:$PATH" | ||
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$BREW_OPT/[email protected]/lib/pkgconfig" | ||
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$BREW_OPT/curl/lib/pkgconfig" | ||
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$BREW_OPT/krb5/lib/pkgconfig" | ||
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$BREW_OPT/libffi/lib/pkgconfig" | ||
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$BREW_OPT/libxml2/lib/pkgconfig" | ||
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$BREW_OPT/libxslt/lib/pkgconfig" | ||
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$BREW_OPT/zlib/lib/pkgconfig" | ||
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$BREW_OPT/icu4c/lib/pkgconfig" | ||
./buildconf --force | ||
./configure \ | ||
--enable-option-checking=fatal \ | ||
--prefix=/usr/local \ | ||
--enable-fpm \ | ||
--with-pdo-mysql=mysqlnd \ | ||
--with-mysqli=mysqlnd \ | ||
--with-pgsql=/usr/local/opt/libpq \ | ||
--with-pdo-pgsql=/usr/local/opt/libpq \ | ||
--with-pgsql="$BREW_OPT"/libpq \ | ||
--with-pdo-pgsql="$BREW_OPT"/libpq \ | ||
--with-pdo-sqlite \ | ||
--without-pear \ | ||
--enable-gd \ | ||
|
@@ -39,21 +40,21 @@ runs: | |
--enable-soap \ | ||
--enable-xmlreader \ | ||
--with-xsl \ | ||
--with-tidy=/usr/local/opt/tidy-html5 \ | ||
--with-tidy="$BREW_OPT"/tidy-html5 \ | ||
--with-libxml \ | ||
--enable-sysvsem \ | ||
--enable-sysvshm \ | ||
--enable-shmop \ | ||
--enable-pcntl \ | ||
--with-readline=/usr/local/opt/readline \ | ||
--with-readline="$BREW_OPT"/readline \ | ||
--enable-mbstring \ | ||
--with-curl \ | ||
--with-gettext=/usr/local/opt/gettext \ | ||
--with-gettext="$BREW_OPT"/gettext \ | ||
--enable-sockets \ | ||
--with-bz2=/usr/local/opt/bzip2 \ | ||
--with-bz2="$BREW_OPT"/bzip2 \ | ||
--with-openssl \ | ||
--with-gmp=/usr/local/opt/gmp \ | ||
--with-iconv=/usr/local/opt/libiconv \ | ||
--with-gmp="$BREW_OPT"/gmp \ | ||
--with-iconv="$BREW_OPT"/libiconv \ | ||
--enable-bcmath \ | ||
--enable-calendar \ | ||
--enable-ftp \ | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -148,7 +148,16 @@ jobs: | |
if: ${{ !matrix.asan }} | ||
uses: ./.github/actions/verify-generated-files | ||
MACOS_DEBUG_NTS: | ||
runs-on: macos-13 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- os: 13 | ||
arch: X64 | ||
- os: 14 | ||
arch: ARM64 | ||
name: MACOS_${{ matrix.arch }}_DEBUG_NTS | ||
runs-on: macos-${{ matrix.os }} | ||
steps: | ||
- name: git checkout | ||
uses: actions/checkout@v4 | ||
|
@@ -157,22 +166,22 @@ jobs: | |
- name: ccache | ||
uses: hendrikmuhs/[email protected] | ||
with: | ||
key: "${{github.job}}-${{hashFiles('main/php_version.h')}}" | ||
key: "${{github.job}}-${{matrix.os}}-${{hashFiles('main/php_version.h')}}" | ||
append-timestamp: false | ||
- name: ./configure | ||
uses: ./.github/actions/configure-macos | ||
with: | ||
configurationParameters: --enable-debug --disable-zts | ||
- name: make | ||
run: |- | ||
export PATH="/usr/local/opt/bison/bin:$PATH" | ||
export PATH="$(brew --prefix)/opt/bison/bin:$PATH" | ||
make -j$(sysctl -n hw.logicalcpu) >/dev/null | ||
- name: make install | ||
run: sudo make install | ||
- name: Test Tracing JIT | ||
uses: ./.github/actions/test-macos | ||
with: | ||
testArtifacts: ${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }} Tracing JIT | ||
testArtifacts: ${{ matrix.arch }}_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }} Tracing JIT | ||
jitType: tracing | ||
runTestsParameters: >- | ||
-d zend_extension=opcache.so | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.