Skip to content

Commit 85522c0

Browse files
committed
Add FreeBSD ZTS nightly build
Closes GH-18959
1 parent 6233dc6 commit 85522c0

File tree

3 files changed

+21
-2
lines changed

3 files changed

+21
-2
lines changed

.github/actions/freebsd/action.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
name: FreeBSD
2+
inputs:
3+
configurationParameters:
4+
default: ''
5+
required: false
26
runs:
37
using: composite
48
steps:
@@ -79,7 +83,9 @@ runs:
7983
--with-mhash \
8084
--with-sodium \
8185
--with-config-file-path=/etc \
82-
--with-config-file-scan-dir=/etc/php.d
86+
--with-config-file-scan-dir=/etc/php.d \
87+
${{ inputs.configurationParameters }}
88+
8389
gmake -j2
8490
mkdir /etc/php.d
8591
gmake install > /dev/null

.github/workflows/nightly.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ on:
2323
run_macos_arm64:
2424
required: true
2525
type: boolean
26+
run_freebsd_zts:
27+
required: true
28+
type: boolean
2629
ubuntu_version:
2730
required: true
2831
type: string
@@ -1052,7 +1055,13 @@ jobs:
10521055
- name: Test
10531056
run: .github/scripts/windows/test.bat
10541057
FREEBSD:
1055-
name: FREEBSD
1058+
strategy:
1059+
fail-fast: false
1060+
matrix:
1061+
zts: [true, false]
1062+
exclude:
1063+
- zts: ${{ !inputs.run_freebsd_zts && true || '*never*' }}
1064+
name: "FREEBSD_${{ matrix.zts && 'ZTS' || 'NTS' }}"
10561065
runs-on: ubuntu-latest
10571066
steps:
10581067
- name: git checkout
@@ -1061,3 +1070,6 @@ jobs:
10611070
ref: ${{ inputs.branch }}
10621071
- name: FreeBSD
10631072
uses: ./.github/actions/freebsd
1073+
with:
1074+
configurationParameters: >-
1075+
--${{ matrix.zts && 'enable' || 'disable' }}-zts

.github/workflows/root.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ jobs:
5555
run_alpine: ${{ (matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 4) || matrix.branch.version[0] >= 9 }}
5656
run_linux_ppc64: ${{ (matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 4) || matrix.branch.version[0] >= 9 }}
5757
run_macos_arm64: ${{ (matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 4) || matrix.branch.version[0] >= 9 }}
58+
run_freebsd_zts: ${{ (matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 3) || matrix.branch.version[0] >= 9 }}
5859
ubuntu_version: ${{
5960
(((matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 5) || matrix.branch.version[0] >= 9) && '24.04')
6061
|| '22.04' }}

0 commit comments

Comments
 (0)