-
Notifications
You must be signed in to change notification settings - Fork 0
74 lines (71 loc) · 2.08 KB
/
nightly-test-build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
name: Nightly Test Build
on:
push:
schedule:
- cron: "0 21 * * *"
workflow_dispatch: ~
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- uses: docker/setup-buildx-action@v3
- uses: docker/build-push-action@v5
with:
context: containers/build/
cache-from: type=gha
cache-to: type=gha,mode=max
- run: docker compose up -d --quiet-pull
- run: docker compose exec build git clone --quiet --depth=1 https://github.com/php/php-src.git .
- run: docker compose exec build ./buildconf
- run:
docker compose exec build
./configure
--enable-bcmath
--enable-calendar
--enable-dba
--enable-debug
--enable-dl-test=shared
--enable-exif
--enable-ftp
--enable-gd
--enable-mbstring
--enable-option-checking=fatal
--enable-pcntl
--enable-shmop
--enable-soap
--enable-sockets
--enable-sysvmsg
--enable-sysvsem
--enable-sysvshm
--enable-xmlreader
--enable-zend-test
--with-bz2
--with-curl
--with-ffi
--with-freetype
--with-gettext
--with-gmp
--with-iconv
--with-jpeg
--with-libxml
--with-mhash
--with-mysqli=mysqlnd
--with-openssl
--with-pdo-firebird
--with-pdo-mysql=mysqlnd
--with-pdo-pgsql
--with-pdo-sqlite
--with-pgsql
--with-readline
--with-sodium
--with-tidy
--with-webp
--with-xsl
--with-zip
--with-zlib
- run: docker compose exec build make -j$(nproc)
- run: docker compose exec build php -m
- run: docker compose exec build php -i