Skip to content

Commit 7abff99

Browse files
authored
add php8.3 to drone/appveyor (#305)
1 parent fe028c2 commit 7abff99

5 files changed

Lines changed: 340 additions & 45 deletions

File tree

.appveyor.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ clone_folder: C:\projects\database
66

77
## Build matrix for lowest and highest possible targets
88
environment:
9-
DLLVersion: "5.10.0"
9+
DLLVersion: "5.12.0"
1010
PHPBuild: "x64"
1111
driver: sqlsrv
1212
db_version: sql2017
@@ -16,6 +16,8 @@ environment:
1616
php: 8.1
1717
- db: mssql
1818
php: 8.2
19+
- db: mssql
20+
php: 8.3
1921

2022
init:
2123
- SET PATH=C:\Program Files\OpenSSL;c:\tools\php;C:\tools\composer;%PATH%
@@ -46,11 +48,11 @@ install:
4648
4749
# Get and install the MSSQL DLL's
4850
cd c:\tools\php\ext
49-
$source = "https://windows.php.net/downloads/pecl/releases/sqlsrv/$($env:DLLVersion)/php_sqlsrv-$($env:DLLVersion)-$($env:php)-nts-$($env:VC)-$($env:PHPBuild).zip"
51+
$source = "https://downloads.php.net/~windows/pecl/releases/sqlsrv/$($env:DLLVersion)/php_sqlsrv-$($env:DLLVersion)-$($env:php)-nts-$($env:VC)-$($env:PHPBuild).zip"
5052
$destination = "c:\tools\php\ext\php_sqlsrv-$($env:DLLVersion)-$($env:php)-nts-$($env:VC)-$($env:PHPBuild).zip"
5153
Invoke-WebRequest $source -OutFile $destination
5254
7z x -y php_sqlsrv-$($env:DLLVersion)-$($env:php)-nts-$($env:VC)-$($env:PHPBuild).zip > $null
53-
$source = "https://windows.php.net/downloads/pecl/releases/pdo_sqlsrv/$($env:DLLVersion)/php_pdo_sqlsrv-$($env:DLLVersion)-$($env:php)-nts-$($env:VC)-$($env:PHPBuild).zip"
55+
$source = "https://downloads.php.net/~windows/pecl/releases/pdo_sqlsrv/$($env:DLLVersion)/php_pdo_sqlsrv-$($env:DLLVersion)-$($env:php)-nts-$($env:VC)-$($env:PHPBuild).zip"
5456
$destination = "c:\tools\php\ext\php_pdo_sqlsrv-$($env:DLLVersion)-$($env:php)-nts-$($env:VC)-$($env:PHPBuild).zip"
5557
Invoke-WebRequest $source -OutFile $destination
5658
7z x -y php_pdo_sqlsrv-$($env:DLLVersion)-$($env:php)-nts-$($env:VC)-$($env:PHPBuild).zip > $null

.drone.jsonnet

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ local composer(phpversion, params) = {
2626
local phpunit_common(phpversion) = {
2727
name: 'PHPUnit',
2828
image: 'joomlaprojects/docker-images:php' + phpversion,
29-
[if phpversion == '8.3' then 'failure']: 'ignore',
29+
[if phpversion == '8.4' then 'failure']: 'ignore',
3030
commands: [
3131
'vendor/bin/phpunit --configuration phpunit.xml.dist --testdox',
3232
],
@@ -35,7 +35,7 @@ local phpunit_common(phpversion) = {
3535
local phpunit_mysql(phpversion, driver) = {
3636
name: 'PHPUnit',
3737
image: 'joomlaprojects/docker-images:php' + phpversion,
38-
[if phpversion == '8.3' then 'failure']: 'ignore',
38+
[if phpversion == '8.4' then 'failure']: 'ignore',
3939
commands: [
4040
'php --ri ' + driver + ' || true',
4141
'sleep 20',
@@ -46,7 +46,7 @@ local phpunit_mysql(phpversion, driver) = {
4646
local phpunit(phpversion, driver) = {
4747
name: 'PHPUnit',
4848
image: 'joomlaprojects/docker-images:php' + phpversion,
49-
[if phpversion == '8.3' then 'failure']: 'ignore',
49+
[if phpversion == '8.4' then 'failure']: 'ignore',
5050
commands: [
5151
'php --ri ' + driver + ' || true',
5252
'vendor/bin/phpunit --configuration phpunit.' + driver + '.xml.dist --testdox',
@@ -256,20 +256,29 @@ local pipeline_sqlsrv(phpversion, driver, dbversion, params) = {
256256
},
257257
pipeline_sqlite('8.1', 'sqlite', '--prefer-stable'),
258258
pipeline_sqlite('8.2', 'sqlite', '--prefer-stable'),
259+
pipeline_sqlite('8.3', 'sqlite', '--prefer-stable'),
259260
pipeline_mysql('8.1', 'mysql', '5.7', '--prefer-stable'),
260261
pipeline_mysql('8.2', 'mysql', '5.7', '--prefer-stable'),
262+
pipeline_mysql('8.3', 'mysql', '5.7', '--prefer-stable'),
261263
pipeline_mysql('8.1', 'mysql', '8.0', '--prefer-stable'),
262264
pipeline_mysql('8.2', 'mysql', '8.0', '--prefer-stable'),
265+
pipeline_mysql('8.3', 'mysql', '8.0', '--prefer-stable'),
263266
pipeline_mysql('8.1', 'mysqli', '5.7', '--prefer-stable'),
264267
pipeline_mysql('8.2', 'mysqli', '5.7', '--prefer-stable'),
268+
pipeline_mysql('8.3', 'mysqli', '5.7', '--prefer-stable'),
265269
pipeline_mysql('8.1', 'mysqli', '8.0', '--prefer-stable'),
266270
pipeline_mysql('8.2', 'mysqli', '8.0', '--prefer-stable'),
271+
pipeline_mysql('8.3', 'mysqli', '8.0', '--prefer-stable'),
267272
pipeline_mariadb('8.1', 'mariadb', '10.2', '--prefer-stable'),
268273
pipeline_mariadb('8.2', 'mariadb', '10.2', '--prefer-stable'),
274+
pipeline_mariadb('8.3', 'mariadb', '10.2', '--prefer-stable'),
269275
pipeline_postgres('8.1', 'pgsql', '10', '--prefer-stable'),
270276
pipeline_postgres('8.2', 'pgsql', '10', '--prefer-stable'),
277+
pipeline_postgres('8.3', 'pgsql', '10', '--prefer-stable'),
271278
pipeline_postgres('8.1', 'pgsql', '11', '--prefer-stable'),
272279
pipeline_postgres('8.2', 'pgsql', '11', '--prefer-stable'),
280+
pipeline_postgres('8.3', 'pgsql', '11', '--prefer-stable'),
273281
pipeline_sqlsrv('8.1', 'sqlsrv', '2017-latest', '--prefer-stable'),
274282
pipeline_sqlsrv('8.2', 'sqlsrv', '2017-latest', '--prefer-stable'),
283+
pipeline_sqlsrv('8.3', 'sqlsrv', '2017-latest', '--prefer-stable'),
275284
]

0 commit comments

Comments
 (0)