Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,8 @@ jobs:
- name: Install shared dependencies
uses: ./.github/workflows/install-shared-dependencies
with:
target: x86_64-apple-darwin
# "macos-latest" is actually an ARM runner, hence using the ARM target for mac here
target: aarch64-apple-darwin
github-token: ${{ secrets.GITHUB_TOKEN }}
engine-version: ${{ matrix.engine.version }}

Expand Down
14 changes: 13 additions & 1 deletion .github/workflows/setup-php-extension/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,26 @@ inputs:
description: Whether to install composer dependencies
required: false
default: "true"
target:
description: "Specified target for rust toolchain, ex. x86_64-apple-darwin"
type: string
required: false
defalt: "x86_64-unknown-linux-gnu"
options:
- x86_64-unknown-linux-gnu
- aarch64-unknown-linux-gnu
- x86_64-apple-darwin
- aarch64-apple-darwin
- aarch64-unknown-linux-musl
- x86_64-unknown-linux-musl

runs:
using: composite
steps:
- name: Install shared dependencies
uses: ./.github/workflows/install-shared-dependencies
with:
target: x86_64-unknown-linux-gnu
target: ${{ inputs.target }}
github-token: ${{ github.token }}
engine-version: "7.2.5"

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-pie.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ jobs:
with:
php-version: ${{ matrix.php }}
install-composer-deps: "true"
target: ${{ matrix.host.TARGET }}

- name: Create manual Composer repository
run: |
Expand Down
Loading