File tree Expand file tree Collapse file tree 6 files changed +135
-242
lines changed Expand file tree Collapse file tree 6 files changed +135
-242
lines changed Original file line number Diff line number Diff line change
1
+ name : Linux x64
2
+ inputs :
3
+ configurationParameters :
4
+ required : true
5
+ extendedTests :
6
+ required : true
7
+ runs :
8
+ using : composite
9
+ steps :
10
+ - name : git checkout
11
+ uses : actions/checkout@v2
12
+ - name : Create mssql container
13
+ uses : ./.github/actions/mssql
14
+ - name : apt
15
+ uses : ./.github/actions/apt-x64
16
+ - name : ./configure
17
+ uses : ./.github/actions/configure-x64
18
+ with :
19
+ configurationParameters : ${{ inputs.configurationParameters }}
20
+ - name : make
21
+ shell : bash
22
+ run : make -j$(/usr/bin/nproc) >/dev/null
23
+ - name : make install
24
+ uses : ./.github/actions/install-linux
25
+ - name : Setup
26
+ uses : ./.github/actions/setup-x64
27
+ - name : Test
28
+ uses : ./.github/actions/tests-linux
29
+ with :
30
+ extended : ${{ inputs.extendedTests }}
Original file line number Diff line number Diff line change
1
+ name : macos
2
+ inputs :
3
+ configurationParameters :
4
+ required : true
5
+ extendedTests :
6
+ required : true
7
+ runs :
8
+ using : composite
9
+ steps :
10
+ - name : git checkout
11
+ uses : actions/checkout@v2
12
+ - name : brew
13
+ uses : ./.github/actions/brew
14
+ - name : ./configure
15
+ uses : ./.github/actions/configure-macos
16
+ with :
17
+ configurationParameters : ${{ inputs.configurationParameters }}
18
+ - name : make
19
+ shell : bash
20
+ run : |
21
+ export PATH="/usr/local/opt/bison/bin:$PATH"
22
+ make -j$(sysctl -n hw.logicalcpu) >/dev/null
23
+ - name : make
24
+ shell : bash
25
+ run : sudo make install
26
+ - name : Setup
27
+ uses : ./.github/actions/setup-x64
28
+ - name : Test
29
+ uses : ./.github/actions/tests-linux
30
+ with :
31
+ extended : ${{ inputs.extendedTests }}
Original file line number Diff line number Diff line change
1
+ name : Tests Linux
2
+ inputs :
3
+ extended :
4
+ required : true
5
+ runTestsParameters :
6
+ default : ' '
7
+ required : false
8
+ runs :
9
+ using : composite
10
+ steps :
11
+ - uses : ./.github/actions/linux-test
12
+ with :
13
+ runTestsParameters : ${{ inputs.runTestsParameters }}
14
+ - name : Tracing JIT
15
+ uses : ./.github/actions/linux-test
16
+ with :
17
+ runTestsParameters : ' ${{ inputs.runTestsParameters }} -d zend_extension=opcache.so -d opcache.jit_buffer_size=16M'
18
+ - name : OpCache
19
+ if : ${{ inputs.extended }}
20
+ uses : ./.github/actions/linux-test
21
+ with :
22
+ runTestsParameters : ' ${{ inputs.runTestsParameters }} -d zend_extension=opcache.so'
23
+ - name : Function JIT
24
+ if : ${{ inputs.extended }}
25
+ uses : ./.github/actions/linux-test
26
+ with :
27
+ runTestsParameters : ' ${{ inputs.runTestsParameters }} -d zend_extension=opcache.so -d opcache.jit_buffer_size=16M -d opcache.jit=1205'
Original file line number Diff line number Diff line change
1
+ name : Tests macos
2
+ inputs :
3
+ extended :
4
+ required : true
5
+ runTestsParameters :
6
+ default : ' '
7
+ required : false
8
+ runs :
9
+ using : composite
10
+ steps :
11
+ - uses : ./.github/actions/macos-test
12
+ with :
13
+ runTestsParameters : ${{ inputs.runTestsParameters }}
14
+ - name : Tracing JIT
15
+ uses : ./.github/actions/macos-test
16
+ with :
17
+ runTestsParameters : ' ${{ inputs.runTestsParameters }} -d zend_extension=opcache.so -d opcache.protect_memory=1 -d opcache.jit_buffer_size=16M'
18
+ - name : OpCache
19
+ if : ${{ inputs.extended }}
20
+ uses : ./.github/actions/macos-test
21
+ with :
22
+ runTestsParameters : ' ${{ inputs.runTestsParameters }} -d zend_extension=opcache.so -d opcache.protect_memory=1'
23
+ - name : Function JIT
24
+ if : ${{ inputs.extended }}
25
+ uses : ./.github/actions/macos-test
26
+ with :
27
+ runTestsParameters : ' ${{ inputs.runTestsParameters }} -d zend_extension=opcache.so -d opcache.protect_memory=1 -d opcache.jit_buffer_size=16M -d opcache.jit=1205'
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 10
10
- CONTRIBUTING.md
11
11
- CODING_STANDARDS.md
12
12
jobs :
13
- generate-matrix :
14
- name : Generate Build Matrix
15
- runs-on : ubuntu-latest
16
- outputs :
17
- matrix : ${{ steps.set-matrix.outputs.matrix }}
18
- steps :
19
- - uses : actions/checkout@v2
20
- - name : Generate Build Matrix
21
- id : set-matrix
22
- run : php .github/matrix.php "${{ github.event_name }}"
23
13
test :
24
- needs : generate-matrix
25
14
strategy :
26
- matrix : ${{ fromJson(needs.generate-matrix.outputs.matrix) }}
15
+ matrix :
16
+ include :
17
+ - name : LINUX_X64_DEBUG_NTS
18
+ action : linux-x64
19
+ configurationParameters : --enable-debug --disable-zts
20
+ - name : LINUX_X64_RELEASE_ZTS
21
+ action : linux-x64
22
+ configurationParameters : --disable-debug --enable-zts
23
+ # apt broken, not sure why
24
+ # - name: LINUX_I386_DEBUG_ZTS
25
+ # action: linux-i386
26
+ # configurationParameters: --enable-debug --disable-zts
27
+ - name : MACOS_DEBUG_NTS
28
+ action : macos
29
+ configurationParameters : --enable-debug --disable-zts
27
30
fail-fast : false
28
31
name : ${{ matrix.name }}
29
32
runs-on : ${{ matrix['runs-on'] }}
30
- steps : ${{ matrix.steps }}
33
+ steps :
34
+ - uses : ${{ matrix.action }}
35
+ with :
36
+ configurationParameters : ${{ matrix.configurationParameters }}
37
+ extendedTests : false
You can’t perform that action at this time.
0 commit comments