1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Merge branch 'PHP-8.4'

* PHP-8.4:
  Add FreeBSD ZTS nightly build
This commit is contained in:
Arnaud Le Blanc
2025-06-30 11:48:07 +02:00
3 changed files with 21 additions and 2 deletions

View File

@@ -1,4 +1,8 @@
name: FreeBSD
inputs:
configurationParameters:
default: ''
required: false
runs:
using: composite
steps:
@@ -80,7 +84,9 @@ runs:
--with-sodium \
--enable-werror \
--with-config-file-path=/etc \
--with-config-file-scan-dir=/etc/php.d
--with-config-file-scan-dir=/etc/php.d \
${{ inputs.configurationParameters }}
gmake -j2
mkdir /etc/php.d
gmake install > /dev/null

View File

@@ -23,6 +23,9 @@ on:
run_macos_arm64:
required: true
type: boolean
run_freebsd_zts:
required: true
type: boolean
ubuntu_version:
required: true
type: string
@@ -1052,7 +1055,13 @@ jobs:
- name: Test
run: .github/scripts/windows/test.bat
FREEBSD:
name: FREEBSD
strategy:
fail-fast: false
matrix:
zts: [true, false]
exclude:
- zts: ${{ !inputs.run_freebsd_zts && true || '*never*' }}
name: "FREEBSD_${{ matrix.zts && 'ZTS' || 'NTS' }}"
runs-on: ubuntu-latest
steps:
- name: git checkout
@@ -1061,3 +1070,6 @@ jobs:
ref: ${{ inputs.branch }}
- name: FreeBSD
uses: ./.github/actions/freebsd
with:
configurationParameters: >-
--${{ matrix.zts && 'enable' || 'disable' }}-zts

View File

@@ -55,6 +55,7 @@ jobs:
run_alpine: ${{ (matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 4) || matrix.branch.version[0] >= 9 }}
run_linux_ppc64: ${{ (matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 4) || matrix.branch.version[0] >= 9 }}
run_macos_arm64: ${{ (matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 4) || matrix.branch.version[0] >= 9 }}
run_freebsd_zts: ${{ (matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 3) || matrix.branch.version[0] >= 9 }}
ubuntu_version: ${{
(((matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 5) || matrix.branch.version[0] >= 9) && '24.04')
|| '22.04' }}