Skip to content

Commit d3ca5fd

Browse files
committed
Update action
1 parent af7d610 commit d3ca5fd

File tree

1 file changed

+7
-17
lines changed

1 file changed

+7
-17
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,15 @@ jobs:
2121
strategy:
2222
fail-fast: false
2323
matrix:
24-
php: [ '5.4', '5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3' ]
24+
php: [ '7.4', '8.0', '8.1', '8.2', '8.3' ]
2525

2626
name:
27-
- linux
28-
- debian
29-
- mac
27+
- mac-x64
28+
- mac-arm64
3029

3130
include:
32-
# Linux
33-
- { name: linux, ts: 'nts', compiler: 'gcc', os: ubuntu-20.04 }
34-
# Debian (docker)
35-
- { name: debian, ts: 'nts', compiler: 'gcc', os: ubuntu-20.04 }
36-
# macOS
37-
- { name: mac, ts: 'nts', compiler: 'clang', os: macos-12 }
31+
- { name: mac-x64, ts: 'nts', compiler: 'clang', os: macos-latest-large }
32+
- { name: mac-arm64, ts: 'nts', compiler: 'clang', os: macos-latest-xlarge }
3833

3934
steps:
4035
- uses: actions/checkout@v3
@@ -47,14 +42,9 @@ jobs:
4742
run: |
4843
echo "spx_file_name=spx-php-${{ matrix.php }}-${{ matrix.ts }}-${{ matrix.name }}-${{ matrix.compiler }}" >> $GITHUB_OUTPUT
4944
50-
- name: Build extension for Ubuntu and macOS
51-
if: matrix.name != 'debian'
45+
- name: Build extension for macOS
5246
uses: ./.github/workflows/build-linux-mac-ext
5347

54-
- name: Build extension for Debian using docker
55-
if: matrix.name == 'debian' && matrix.php != '5.4' && matrix.php != '5.5'
56-
uses: ./.github/workflows/build-debian-ext
57-
5848
- name: Upload build artifacts after Failure
5949
if: failure()
6050
uses: actions/upload-artifact@v3
@@ -105,7 +95,7 @@ jobs:
10595
10696
- name: Download SPX build artifacts
10797
id: download
108-
uses: actions/download-artifact@v4.1.7
98+
uses: actions/download-artifact@v3
10999
with:
110100
path: ./build-artifacts
111101

0 commit comments

Comments
 (0)