File tree Expand file tree Collapse file tree 1 file changed +23
-8
lines changed Expand file tree Collapse file tree 1 file changed +23
-8
lines changed Original file line number Diff line number Diff line change 1
1
name : " [Windows] Build Phalcon"
2
- on : [push, pull_request]
2
+
3
+ on :
4
+ - push
5
+ - pull_request
6
+
7
+ env :
8
+ # All versions should be declared here
9
+ PHALCON_VERSION : 5.9.3
3
10
4
11
jobs :
5
12
windows :
6
13
runs-on : windows-latest
7
- name : " Build Phalcon (PHP ${{matrix.php}}-${{matrix.ts}}-${{matrix.arch}})"
14
+ name : " Build Phalcon (PHP ${{ matrix.php }}-${{ matrix.ts }}-${{ matrix.arch }})"
8
15
defaults :
9
16
run :
10
17
shell : cmd
11
18
strategy :
12
19
fail-fast : false
13
20
matrix :
14
- php : ["8.0","8.1","8.2","8.3"]
15
- arch : [x64,x86]
16
- ts : [nts,ts]
21
+ php :
22
+ - ' 8.1'
23
+ - ' 8.2'
24
+ - ' 8.3'
25
+ - ' 8.4'
26
+ arch :
27
+ - x64
28
+ - x86
29
+ ts :
30
+ - nts
31
+ - ts
17
32
experimental : [false]
18
33
steps :
19
34
- name : Checkout Phalcon
31
46
32
47
- name : Setup PHP
33
48
id : setup-php
34
- uses : php/setup-php-sdk@v0.8
49
+ uses : php/setup-php-sdk@v0.10
35
50
with :
36
51
version : ${{matrix.php}}
37
52
arch : ${{matrix.arch}}
76
91
$phalconDllOpt = 'TEST_PHP_ARGS=-n -d zend_extension=' + $dir + '\php_phalcon.dll'
77
92
echo $phalconDllOpt >> $env:GITHUB_ENV
78
93
79
- $artifactName = 'php_phalcon-php${{matrix.php}}'
94
+ $artifactName = 'php_phalcon-${{ env.PHALCON_VERSION }}- php${{matrix.php}}'
80
95
81
96
if ('nts' -ne '${{matrix.ts}}') { $artifactName = $artifactName + '-ts' }
82
97
if ('nts' -eq '${{matrix.ts}}') { $artifactName = $artifactName + '-nts' }
@@ -105,4 +120,4 @@ jobs:
105
120
name : ${{env.ARTIFACT_NAME}}
106
121
path : |
107
122
${{env.ARTIFACT}}
108
- LICENSE.txt
123
+ LICENSE.txt
You can’t perform that action at this time.
0 commit comments