File tree Expand file tree Collapse file tree 4 files changed +122
-31
lines changed Expand file tree Collapse file tree 4 files changed +122
-31
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : FreeBSD
2+ runs :
3+ using : composite
4+ steps :
5+ - name : FreeBSD
6+ uses : vmactions/freebsd-vm@v1
7+ with :
8+ release : ' 13.3'
9+ usesh : true
10+ # Temporarily disable sqlite, as FreeBSD ships it with disabled double quotes. We'll need to fix our tests.
11+ # https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269889
12+ prepare : |
13+ cd $GITHUB_WORKSPACE
14+
15+ kldload accf_http
16+ pkg install -y \
17+ autoconf \
18+ bison \
19+ gmake \
20+ re2c \
21+ icu \
22+ libiconv \
23+ png \
24+ freetype2 \
25+ enchant2 \
26+ bzip2 \
27+ t1lib \
28+ gmp \
29+ tidyp \
30+ libsodium \
31+ libzip \
32+ libxml2 \
33+ libxslt \
34+ openssl \
35+ oniguruma \
36+ pkgconf \
37+ webp \
38+ libavif \
39+ `#sqlite3` \
40+ curl
41+
42+ ./buildconf -f
43+ ./configure \
44+ --prefix=/usr/local \
45+ --enable-debug \
46+ --enable-option-checking=fatal \
47+ --enable-fpm \
48+ `#--with-pdo-sqlite` \
49+ --without-sqlite3 \
50+ --without-pdo-sqlite \
51+ --without-pear \
52+ --with-bz2 \
53+ --with-avif \
54+ --with-jpeg \
55+ --with-webp \
56+ --with-freetype \
57+ --enable-gd \
58+ --enable-exif \
59+ --with-zip \
60+ --with-zlib \
61+ --enable-soap \
62+ --enable-xmlreader \
63+ --with-xsl \
64+ --with-libxml \
65+ --enable-shmop \
66+ --enable-pcntl \
67+ --enable-mbstring \
68+ --with-curl \
69+ --enable-sockets \
70+ --with-openssl \
71+ --with-iconv=/usr/local \
72+ --enable-bcmath \
73+ --enable-calendar \
74+ --enable-ftp \
75+ --with-ffi \
76+ --enable-zend-test \
77+ --enable-dl-test=shared \
78+ --enable-intl \
79+ --with-mhash \
80+ --with-sodium \
81+ --enable-werror \
82+ --with-config-file-path=/etc \
83+ --with-config-file-scan-dir=/etc/php.d
84+ gmake -j2
85+ mkdir /etc/php.d
86+ gmake install > /dev/null
87+ echo opcache.enable_cli=1 > /etc/php.d/opcache.ini
88+ echo opcache.protect_memory=1 >> /etc/php.d/opcache.ini
89+ echo opcache.preload_user=root >> /etc/php.d/opcache.ini
90+ run : |
91+ cd $GITHUB_WORKSPACE
92+
93+ export SKIP_IO_CAPTURE_TESTS=1
94+ export CI_NO_IPV6=1
95+ export STACK_LIMIT_DEFAULTS_CHECK=1
96+ sapi/cli/php run-tests.php \
97+ -P -q -j2 \
98+ -g FAIL,BORK,LEAK,XLEAK \
99+ --no-progress \
100+ --offline \
101+ --show-diff \
102+ --show-slow 1000 \
103+ --set-timeout 120 \
104+ -d zend_extension=opcache.so
Original file line number Diff line number Diff line change @@ -981,3 +981,13 @@ jobs:
981981 run : .github/scripts/windows/build.bat
982982 - name : Test
983983 run : .github/scripts/windows/test.bat
984+ FREEBSD :
985+ name : FREEBSD
986+ runs-on : ubuntu-latest
987+ steps :
988+ - name : git checkout
989+ uses : actions/checkout@v4
990+ with :
991+ ref : ${{ inputs.branch }}
992+ - name : FreeBSD
993+ uses : ./.github/actions/freebsd
Original file line number Diff line number Diff line change @@ -359,3 +359,11 @@ jobs:
359359 name : profiles
360360 path : ${{ github.workspace }}/benchmark/profiles
361361 retention-days : 30
362+ FREEBSD :
363+ name : FREEBSD
364+ runs-on : ubuntu-latest
365+ steps :
366+ - name : git checkout
367+ uses : actions/checkout@v4
368+ - name : FreeBSD
369+ uses : ./.github/actions/freebsd
You can’t perform that action at this time.
0 commit comments