mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 04:44:53 +08:00
Fix Intel Mac build action (#427)
* Fix Intel Mac build action * Use x64 build server * Use macos-13 runner
This commit is contained in:
parent
d98d6aeffb
commit
7a8e0a7e67
10
.github/workflows/build-macos-x86_64.yml
vendored
10
.github/workflows/build-macos-x86_64.yml
vendored
@ -37,7 +37,7 @@ env:
|
||||
jobs:
|
||||
build:
|
||||
name: build ${{ inputs.version }} on macOS x86_64
|
||||
runs-on: macos-latest
|
||||
runs-on: macos-13
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
@ -46,6 +46,14 @@ jobs:
|
||||
brew install automake gzip
|
||||
echo "SPC_BUILD_OS=macos" >> $GITHUB_ENV
|
||||
|
||||
- name: "Setup PHP"
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: 8.1
|
||||
tools: pecl, composer
|
||||
extensions: curl, openssl, mbstring, tokenizer
|
||||
ini-values: memory_limit=-1
|
||||
|
||||
# Cache composer dependencies
|
||||
- id: cache-composer-deps
|
||||
uses: actions/cache@v3
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user