File tree Expand file tree Collapse file tree 1 file changed +88
-0
lines changed
Expand file tree Collapse file tree 1 file changed +88
-0
lines changed Original file line number Diff line number Diff line change 1+ name : pie
2+
3+ on :
4+ push :
5+
6+ env :
7+ PHP_EXT : zstd
8+ BIN_SDK_VER : 2.3.0
9+
10+ jobs :
11+ pie :
12+ strategy :
13+ matrix :
14+ php :
15+ - ' 8.4'
16+ - ' 8.3'
17+ - ' 8.2'
18+ - ' 8.1'
19+ arch :
20+ - x64
21+ - x86
22+ ts :
23+ - ' nts'
24+ - ' ts'
25+ vs :
26+ - vs16
27+ - vs17
28+ exclude :
29+ - php : ' 8.4'
30+ vs : vs16
31+ - php : ' 8.3'
32+ vs : vs17
33+ - php : ' 8.2'
34+ vs : vs17
35+ - php : ' 8.1'
36+ vs : vs17
37+
38+ runs-on : ${{ matrix.vs == 'vs17' && 'windows-2022' || 'windows-2019' }}
39+
40+ env :
41+ PHP_VER : ${{ matrix.php }}
42+ VS : ${{ matrix.vs }}
43+ ARCH : ${{ matrix.arch }}
44+ TS : ${{ matrix.ts }}
45+
46+ steps :
47+ - name : Checkout repository
48+ uses : actions/checkout@v4
49+ with :
50+ persist-credentials : false
51+
52+ - uses : actions/cache@v4
53+ with :
54+ path : |
55+ C:\php\php-*.zip
56+ key : ${{ runner.os }}-php-${{ matrix.php }}-${{ matrix.ts }}-${{ matrix.vs }}-${{ matrix.arch }}
57+ restore-keys : |
58+ ${{ runner.os }}-php-
59+
60+ - name : Install build command
61+ run : .\.github\workflows\install.ps1
62+ shell : pwsh
63+
64+ - name : Setup PHP
65+ run : |-
66+ $ini = New-Item "C:\php\bin\php.ini" -Force
67+ Add-Content $ini "extension_dir=C:\php\bin\ext"
68+ Add-Content $ini "extension=openssl"
69+ shell : pwsh
70+
71+ - name : Install PIE
72+ run : |-
73+ Invoke-WebRequest "https://github.com/php/pie/releases/download/0.8.0/pie.phar" -OutFile "C:\php\pie.phar"
74+ shell : pwsh
75+
76+ - name : PIE Install Extension ${{ env.PHP_EXT }}
77+ run : |-
78+ C:\php\bin\php.exe C:\php\pie.phar --version
79+ C:\php\bin\php.exe C:\php\pie.phar install kjdev/${{ env.PHP_EXT }}
80+ shell : pwsh
81+
82+ - name : Check Extension ${{ env.PHP_EXT }}
83+ run : |-
84+ ls C:\php\bin\ext
85+ cat C:\php\bin\php.ini
86+ C:\php\bin\php.exe -m
87+ C:\php\bin\php.exe --ri ${{ env.PHP_EXT }}
88+ shell : pwsh
You can’t perform that action at this time.
0 commit comments