File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed
Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build on Windows
2+ on : [push, pull_request]
3+ jobs :
4+ windows :
5+ defaults :
6+ run :
7+ shell : cmd
8+ strategy :
9+ matrix :
10+ version : ['7.4', '8.0', '8.1']
11+ arch : [x64, x86]
12+ ts : [nts, zts]
13+ runs-on : windows-latest
14+ steps :
15+ - name : Checkout memcached
16+ uses : actions/checkout@v2
17+ - name : Setup PHP
18+ id : setup-php
19+ 20+ with :
21+ version : ${{matrix.version}}
22+ arch : ${{matrix.arch}}
23+ ts : ${{matrix.ts}}
24+ deps : zlib
25+ - name : Fetch libmemcached
26+ run : curl -OLs https://windows.php.net/downloads/pecl/deps/libmemcached-1.1.1-${{steps.setup-php.outputs.vs}}-${{matrix.arch}}.zip && 7z x libmemcached-1.1.1-${{steps.setup-php.outputs.vs}}-${{matrix.arch}}.zip -o..\deps
27+ - name : Enable Developer Command Prompt
28+ uses : ilammy/msvc-dev-cmd@v1
29+ with :
30+ arch : ${{matrix.arch}}
31+ toolset : ${{steps.setup-php.outputs.toolset}}
32+ - name : phpize
33+ run : phpize
34+ - name : configure
35+ run : configure --enable-memcached --enable-memcached-session --enable-memcached-json --with-prefix=${{steps.setup-php.outputs.prefix}}
36+ - name : make
37+ run : nmake
You can’t perform that action at this time.
0 commit comments