File tree Expand file tree Collapse file tree 3 files changed +21
-2
lines changed Expand file tree Collapse file tree 3 files changed +21
-2
lines changed Original file line number Diff line number Diff line change 1
1
name : FreeBSD
2
+ inputs :
3
+ configurationParameters :
4
+ default : ' '
5
+ required : false
2
6
runs :
3
7
using : composite
4
8
steps :
79
83
--with-mhash \
80
84
--with-sodium \
81
85
--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
+
83
89
gmake -j2
84
90
mkdir /etc/php.d
85
91
gmake install > /dev/null
Original file line number Diff line number Diff line change 23
23
run_macos_arm64 :
24
24
required : true
25
25
type : boolean
26
+ run_freebsd_zts :
27
+ required : true
28
+ type : boolean
26
29
ubuntu_version :
27
30
required : true
28
31
type : string
@@ -1052,7 +1055,13 @@ jobs:
1052
1055
- name : Test
1053
1056
run : .github/scripts/windows/test.bat
1054
1057
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' }}"
1056
1065
runs-on : ubuntu-latest
1057
1066
steps :
1058
1067
- name : git checkout
@@ -1061,3 +1070,6 @@ jobs:
1061
1070
ref : ${{ inputs.branch }}
1062
1071
- name : FreeBSD
1063
1072
uses : ./.github/actions/freebsd
1073
+ with :
1074
+ configurationParameters : >-
1075
+ --${{ matrix.zts && 'enable' || 'disable' }}-zts
Original file line number Diff line number Diff line change 55
55
run_alpine : ${{ (matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 4) || matrix.branch.version[0] >= 9 }}
56
56
run_linux_ppc64 : ${{ (matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 4) || matrix.branch.version[0] >= 9 }}
57
57
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 }}
58
59
ubuntu_version : ${{
59
60
(((matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 5) || matrix.branch.version[0] >= 9) && '24.04')
60
61
|| '22.04' }}
You can’t perform that action at this time.
0 commit comments