Skip to content

Commit 7a3b54d

Browse files
authored
Merge pull request #16771 from phalcon/niden-patch-1
enable 8.4 DLLs
2 parents a58902f + d2edea6 commit 7a3b54d

File tree

1 file changed

+23
-8
lines changed

1 file changed

+23
-8
lines changed

.github/workflows/compile-windows.yml

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,34 @@
11
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
310

411
jobs:
512
windows:
613
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 }})"
815
defaults:
916
run:
1017
shell: cmd
1118
strategy:
1219
fail-fast: false
1320
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
1732
experimental: [false]
1833
steps:
1934
- name: Checkout Phalcon
@@ -31,7 +46,7 @@ jobs:
3146
3247
- name: Setup PHP
3348
id: setup-php
34-
uses: php/setup-php-sdk@v0.8
49+
uses: php/setup-php-sdk@v0.10
3550
with:
3651
version: ${{matrix.php}}
3752
arch: ${{matrix.arch}}
@@ -76,7 +91,7 @@ jobs:
7691
$phalconDllOpt = 'TEST_PHP_ARGS=-n -d zend_extension=' + $dir + '\php_phalcon.dll'
7792
echo $phalconDllOpt >> $env:GITHUB_ENV
7893
79-
$artifactName = 'php_phalcon-php${{matrix.php}}'
94+
$artifactName = 'php_phalcon-${{ env.PHALCON_VERSION }}-php${{matrix.php}}'
8095
8196
if ('nts' -ne '${{matrix.ts}}') { $artifactName = $artifactName + '-ts' }
8297
if ('nts' -eq '${{matrix.ts}}') { $artifactName = $artifactName + '-nts' }
@@ -105,4 +120,4 @@ jobs:
105120
name: ${{env.ARTIFACT_NAME}}
106121
path: |
107122
${{env.ARTIFACT}}
108-
LICENSE.txt
123+
LICENSE.txt

0 commit comments

Comments
 (0)