Skip to content

Commit fccdc03

Browse files
committed
Add FreeBSD ZTS nightly build
1 parent c7c6a79 commit fccdc03

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-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:
@@ -80,7 +84,9 @@ runs:
8084
--with-sodium \
8185
--enable-werror \
8286
--with-config-file-path=/etc \
83-
--with-config-file-scan-dir=/etc/php.d
87+
--with-config-file-scan-dir=/etc/php.d \
88+
${{ inputs.configurationParameters }}
89+
8490
gmake -j2
8591
mkdir /etc/php.d
8692
gmake install > /dev/null

.github/workflows/nightly.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1052,7 +1052,13 @@ jobs:
10521052
- name: Test
10531053
run: .github/scripts/windows/test.bat
10541054
FREEBSD:
1055-
name: FREEBSD
1055+
strategy:
1056+
fail-fast: false
1057+
matrix:
1058+
include:
1059+
- zts: false
1060+
- zts: true
1061+
name: "FREEBSD_${{ matrix.zts && 'ZTS' || 'NTS' }}"
10561062
runs-on: ubuntu-latest
10571063
steps:
10581064
- name: git checkout
@@ -1061,3 +1067,6 @@ jobs:
10611067
ref: ${{ inputs.branch }}
10621068
- name: FreeBSD
10631069
uses: ./.github/actions/freebsd
1070+
with:
1071+
configurationParameters: >-
1072+
--${{ matrix.zts && 'enable' || 'disable' }}-zts

0 commit comments

Comments
 (0)