Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
8 changes: 4 additions & 4 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ jobs:
# architectures in parallel, before being merged into a universal binary while building
# the app itself.
php:
name: Build PHP on ${{ matrix.os }}
name: Build PHP on ${{ matrix.runner }}
strategy:
matrix:
os:
runner:
- macos-13 # x64
- macos-14 # arm64
runs-on: ${{ matrix.os }}
- macos-latest # arm64
runs-on: ${{ matrix.runner }}
env:
# The extensions and libraries needed to build PHP. These need to be variables so we can
# use them to generate a cache key.
Expand Down
13 changes: 9 additions & 4 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,13 @@ on:
# compile PHP and build the launcher.
jobs:
build:
name: Build
runs-on: windows-latest
name: Build on ${{ matrix.runner }}
strategy:
matrix:
runner:
- windows-latest # x86
- windows-11-arm # arm64
runs-on: ${{ matrix.runner }}
env:
# The extensions and libraries needed to build PHP. These need to be variables so we can
# use them to generate a cache key.
Expand All @@ -41,7 +46,7 @@ jobs:
- name: Generate cache key
shell: bash
run: |
CACHE_KEY=${{ runner.os }}-$PHP_VERSION-$(echo $PHP_EXTENSIONS | tr ',' '-')
CACHE_KEY=${{ runner.os }}-${{ runner.arch }}-$PHP_VERSION--$(echo $PHP_EXTENSIONS | tr ',' '-')
echo "CACHE_KEY=${CACHE_KEY}" >> "$GITHUB_ENV"

- id: cache-php
Expand Down Expand Up @@ -111,6 +116,6 @@ jobs:
if: ${{ env.PUBLISH == 'never' }}
uses: actions/upload-artifact@v4
with:
name: app
name: app-${{ runner.arch }}
path: dist/*.exe
retention-days: 7
Loading