|
18 | 18 | branches:
|
19 | 19 | - '**'
|
20 | 20 | jobs:
|
21 |
| - LINUX_X64: |
| 21 | + # LINUX_X64: |
| 22 | + # strategy: |
| 23 | + # fail-fast: false |
| 24 | + # matrix: |
| 25 | + # include: |
| 26 | + # - debug: true |
| 27 | + # zts: false |
| 28 | + # - debug: false |
| 29 | + # zts: true |
| 30 | + # name: "LINUX_X64_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}" |
| 31 | + # runs-on: ubuntu-20.04 |
| 32 | + # steps: |
| 33 | + # - name: git checkout |
| 34 | + # uses: actions/checkout@v2 |
| 35 | + # - name: Create mssql container |
| 36 | + # uses: ./.github/actions/mssql |
| 37 | + # - name: apt |
| 38 | + # uses: ./.github/actions/apt-x64 |
| 39 | + # - name: ./configure |
| 40 | + # uses: ./.github/actions/configure-x64 |
| 41 | + # with: |
| 42 | + # configurationParameters: >- |
| 43 | + # --${{ matrix.debug && 'enable' || 'disable' }}-debug |
| 44 | + # --${{ matrix.zts && 'enable' || 'disable' }}-zts |
| 45 | + # - name: make |
| 46 | + # run: make -j$(/usr/bin/nproc) >/dev/null |
| 47 | + # - name: make install |
| 48 | + # uses: ./.github/actions/install-linux |
| 49 | + # - name: Setup |
| 50 | + # uses: ./.github/actions/setup-x64 |
| 51 | + # - name: Test |
| 52 | + # uses: ./.github/actions/test-linux |
| 53 | + # - name: Test Tracing JIT |
| 54 | + # uses: ./.github/actions/test-linux |
| 55 | + # with: |
| 56 | + # runTestsParameters: -d zend_extension=opcache.so -d opcache.jit_buffer_size=16M |
| 57 | + # MACOS_DEBUG_NTS: |
| 58 | + # runs-on: macos-10.15 |
| 59 | + # steps: |
| 60 | + # - name: git checkout |
| 61 | + # uses: actions/checkout@v2 |
| 62 | + # - name: brew |
| 63 | + # uses: ./.github/actions/brew |
| 64 | + # - name: ./configure |
| 65 | + # uses: ./.github/actions/configure-macos |
| 66 | + # with: |
| 67 | + # configurationParameters: --enable-debug --disable-zts |
| 68 | + # - name: make |
| 69 | + # run: |- |
| 70 | + # export PATH="/usr/local/opt/bison/bin:$PATH" |
| 71 | + # make -j$(sysctl -n hw.logicalcpu) >/dev/null |
| 72 | + # - name: make install |
| 73 | + # run: sudo make install |
| 74 | + # - name: Test |
| 75 | + # uses: ./.github/actions/test-macos |
| 76 | + # - name: Test Tracing JIT |
| 77 | + # uses: ./.github/actions/test-macos |
| 78 | + # with: |
| 79 | + # runTestsParameters: >- |
| 80 | + # -d zend_extension=opcache.so |
| 81 | + # -d opcache.protect_memory=1 |
| 82 | + # -d opcache.jit_buffer_size=16M |
| 83 | + WINDOWS_X64: |
22 | 84 | strategy:
|
23 | 85 | fail-fast: false
|
24 | 86 | matrix:
|
25 | 87 | include:
|
26 |
| - - debug: true |
27 |
| - zts: false |
28 |
| - - debug: false |
29 |
| - zts: true |
30 |
| - name: "LINUX_X64_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}" |
31 |
| - runs-on: ubuntu-20.04 |
| 88 | + - zts: false |
| 89 | + opcache: false |
| 90 | + - zts: true |
| 91 | + opcache: true |
| 92 | + intrinsics: AVX |
| 93 | + runs-on: windows-2019 |
| 94 | + env: |
| 95 | + PHP_BUILD_CACHE_BASE_DIR: c:\build-cache |
| 96 | + PHP_BUILD_OBJ_DIR: c:\obj |
| 97 | + PHP_BUILD_CACHE_SDK_DIR: c:\build-cache\sdk |
| 98 | + PHP_BUILD_SDK_BRANCH: php-sdk-2.2.0 |
| 99 | + PHP_BUILD_CRT: vs16 |
| 100 | + THREAD_SAFE: ${{ matrix.zts && 1 || 0 }} |
| 101 | + OPCACHE: ${{ matrix.opcache && 1 || 0 }} |
| 102 | + PARALLEL: -j2 |
| 103 | + INTRINSICS: ${{ matrix.intrinsics }} |
| 104 | + PLATFORM: x64 |
| 105 | + APPVEYOR: true |
| 106 | + APPVEYOR_BUILD_FOLDER: ${{ env.GITHUB_WORKSPACE }} |
| 107 | + APPVEYOR_REPO_BRANCH: ${{ env.GITHUB_BASE_REF }} |
32 | 108 | steps:
|
33 | 109 | - name: git checkout
|
34 | 110 | uses: actions/checkout@v2
|
35 |
| - - name: Create mssql container |
36 |
| - uses: ./.github/actions/mssql |
37 |
| - - name: apt |
38 |
| - uses: ./.github/actions/apt-x64 |
39 |
| - - name: ./configure |
40 |
| - uses: ./.github/actions/configure-x64 |
41 |
| - with: |
42 |
| - configurationParameters: >- |
43 |
| - --${{ matrix.debug && 'enable' || 'disable' }}-debug |
44 |
| - --${{ matrix.zts && 'enable' || 'disable' }}-zts |
45 |
| - - name: make |
46 |
| - run: make -j$(/usr/bin/nproc) >/dev/null |
47 |
| - - name: make install |
48 |
| - uses: ./.github/actions/install-linux |
49 |
| - - name: Setup |
50 |
| - uses: ./.github/actions/setup-x64 |
| 111 | + - name: Build |
| 112 | + run: .\.github\scripts\windows\build.bat |
51 | 113 | - name: Test
|
52 |
| - uses: ./.github/actions/test-linux |
53 |
| - - name: Test Tracing JIT |
54 |
| - uses: ./.github/actions/test-linux |
55 |
| - with: |
56 |
| - runTestsParameters: -d zend_extension=opcache.so -d opcache.jit_buffer_size=16M |
57 |
| - MACOS_DEBUG_NTS: |
58 |
| - runs-on: macos-10.15 |
59 |
| - steps: |
60 |
| - - name: git checkout |
61 |
| - uses: actions/checkout@v2 |
62 |
| - - name: brew |
63 |
| - uses: ./.github/actions/brew |
64 |
| - - name: ./configure |
65 |
| - uses: ./.github/actions/configure-macos |
66 |
| - with: |
67 |
| - configurationParameters: --enable-debug --disable-zts |
68 |
| - - name: make |
69 |
| - run: |- |
70 |
| - export PATH="/usr/local/opt/bison/bin:$PATH" |
71 |
| - make -j$(sysctl -n hw.logicalcpu) >/dev/null |
72 |
| - - name: make install |
73 |
| - run: sudo make install |
74 |
| - - name: Test |
75 |
| - uses: ./.github/actions/test-macos |
76 |
| - - name: Test Tracing JIT |
77 |
| - uses: ./.github/actions/test-macos |
78 |
| - with: |
79 |
| - runTestsParameters: >- |
80 |
| - -d zend_extension=opcache.so |
81 |
| - -d opcache.protect_memory=1 |
82 |
| - -d opcache.jit_buffer_size=16M |
| 114 | + run: .\.github\scripts\windows\test.bat |
0 commit comments