Skip to content

Commit

Permalink
Update AppVeyor CI
Browse files Browse the repository at this point in the history
* use php-sdk 2.3.0 from php fork (the microsoft repo is archieved)
* switch to downloads.php.net
* update to latest releases of PHP 7.*
  • Loading branch information
cmb69 committed Sep 30, 2024
1 parent 73ee062 commit 1f26a08
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
14 changes: 7 additions & 7 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,34 +10,34 @@ cache:
- c:\build-cache -> .appveyor.yml, .appveyor\install.ps1

environment:
BIN_SDK_VER: 2.2.0
BIN_SDK_VER: 2.3.0
matrix:
- PHP_VER: 7.2.30
- PHP_VER: 7.2.34
ARCH: x64
TS: 1
VC: vc15
DEP: libyaml-0.1.7
- PHP_VER: 7.2.30
- PHP_VER: 7.2.34
ARCH: x86
TS: 0
VC: vc15
DEP: libyaml-0.1.7
- PHP_VER: 7.3.17
- PHP_VER: 7.3.33
ARCH: x64
TS: 1
VC: vc15
DEP: libyaml-0.1.7
- PHP_VER: 7.3.17
- PHP_VER: 7.3.33
ARCH: x86
TS: 0
VC: vc15
DEP: libyaml-0.1.7
- PHP_VER: 7.4.5
- PHP_VER: 7.4.33
ARCH: x64
TS: 1
VC: vc15
DEP: libyaml-0.1.7
- PHP_VER: 7.4.5
- PHP_VER: 7.4.33
ARCH: x86
TS: 0
VC: vc15
Expand Down
12 changes: 6 additions & 6 deletions .appveyor/install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ if (-not (Test-Path c:\build-cache)) {
}
$bname = 'php-sdk-' + $env:BIN_SDK_VER + '.zip'
if (-not (Test-Path c:\build-cache\$bname)) {
Invoke-WebRequest "https://github.com/microsoft/php-sdk-binary-tools/archive/$bname" -OutFile "c:\build-cache\$bname"
Invoke-WebRequest "https://github.com/php/php-sdk-binary-tools/archive/$bname" -OutFile "c:\build-cache\$bname"
}
$dname0 = 'php-sdk-binary-tools-php-sdk-' + $env:BIN_SDK_VER
$dname1 = 'php-sdk-' + $env:BIN_SDK_VER
Expand All @@ -15,9 +15,9 @@ $ts_part = ''
if ('0' -eq $env:TS) { $ts_part = '-nts' }
$bname = 'php-devel-pack-' + $env:PHP_VER + $ts_part + '-Win32-' + $env:VC.toUpper() + '-' + $env:ARCH + '.zip'
if (-not (Test-Path c:\build-cache\$bname)) {
Invoke-WebRequest "http://windows.php.net/downloads/releases/archives/$bname" -OutFile "c:\build-cache\$bname"
Invoke-WebRequest "https://downloads.php.net/~windows/releases/archives/$bname" -OutFile "c:\build-cache\$bname"
if (-not (Test-Path c:\build-cache\$bname)) {
Invoke-WebRequest "http://windows.php.net/downloads/releases/$bname" -OutFile "c:\build-cache\$bname"
Invoke-WebRequest "hhttps://downloads.php.net/~windows/releases/$bname" -OutFile "c:\build-cache\$bname"
}
}
$dname0 = 'php-' + $env:PHP_VER + '-devel-' + $env:VC.toUpper() + '-' + $env:ARCH
Expand All @@ -33,9 +33,9 @@ $env:PATH = $env:PHP_DEVEL_PATH + ';' + $env:PATH

$bname = 'php-' + $env:PHP_VER + $ts_part + '-Win32-' + $env:VC.toUpper() + '-' + $env:ARCH + '.zip'
if (-not (Test-Path c:\build-cache\$bname)) {
Invoke-WebRequest "http://windows.php.net/downloads/releases/archives/$bname" -OutFile "c:\build-cache\$bname"
Invoke-WebRequest "https://downloads.php.net/~windows/releases/archives/$bname" -OutFile "c:\build-cache\$bname"
if (-not (Test-Path c:\build-cache\$bname)) {
Invoke-WebRequest "http://windows.php.net/downloads/releases/$bname" -OutFile "c:\build-cache\$bname"
Invoke-WebRequest "https://downloads.php.net/~windows/releases/$bname" -OutFile "c:\build-cache\$bname"
}
}
$dname = 'php-' + $env:PHP_VER + $ts_part + '-Win32-' + $env:VC.toUpper() + '-' + $env:ARCH
Expand All @@ -47,6 +47,6 @@ $env:PATH = $env:PHP_PATH + ';' + $env:PATH

$bname = $env:DEP + '-' + $env:VC.toUpper() + '-' + $env:ARCH + '.zip'
if (-not (Test-Path c:\build-cache\$bname)) {
Invoke-WebRequest "http://windows.php.net/downloads/pecl/deps/$bname" -OutFile "c:\build-cache\$bname"
Invoke-WebRequest "http://downloads.php.net/~windows/pecl/deps/$bname" -OutFile "c:\build-cache\$bname"
7z x c:\build-cache\$bname -oc:\build-cache\deps
}

0 comments on commit 1f26a08

Please sign in to comment.