File tree Expand file tree Collapse file tree 1 file changed +56
-0
lines changed Expand file tree Collapse file tree 1 file changed +56
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - php7
7
+ pull_request :
8
+ branches :
9
+ - php7
10
+ workflow_dispatch :
11
+
12
+ jobs :
13
+ ubuntu :
14
+ name : Test on Ubuntu
15
+ runs-on : ubuntu-latest
16
+
17
+ strategy :
18
+ fail-fast : false
19
+ matrix :
20
+ php-version :
21
+ - " 7.1"
22
+ - " 7.2"
23
+ - " 7.3"
24
+ - " 7.4"
25
+ - " 8.0"
26
+ - " 8.1"
27
+
28
+ steps :
29
+ - name : Checkout repo
30
+ uses : actions/checkout@v2
31
+ - name : Setup PHP
32
+ uses : " shivammathur/setup-php@v2"
33
+ with :
34
+ php-version : " ${{ matrix.php-version }}"
35
+ coverage : " none"
36
+ tools : " phpize, php-config"
37
+ - name : Generate build files
38
+ run : phpize
39
+ - name : Configure build
40
+ run : CFLAGS="-Wall -fno-strict-aliasing" ./configure --with-yaml
41
+ - name : Build
42
+ run : make all
43
+ - name : Run tests
44
+ run : >-
45
+ REPORT_EXIT_STATUS=1
46
+ NO_INTERACTION=1
47
+ TEST_PHP_EXECUTABLE=$(which php)
48
+ php -n
49
+ -d open_basedir=
50
+ -d output_buffering=0
51
+ -d memory_limit=-1
52
+ run-tests.php -n
53
+ -d extension_dir=modules
54
+ -d extension=yaml.so
55
+ --show-diff
56
+ tests
You can’t perform that action at this time.
0 commit comments