Skip to content

Commit

Permalink
Add AppVeyor job for PHP 8.0.0alpha1
Browse files Browse the repository at this point in the history
  • Loading branch information
cmb69 authored and derickr committed Jul 8, 2020
1 parent 8bbeb12 commit d56c98b
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .appveyor.yml
Expand Up @@ -25,6 +25,12 @@ cache:
environment:
BIN_SDK_VER: 2.2.0
matrix:
- PHP_VER: 8.0.0alpha1
ARCH: x64
TS: 1
VC: vs16
OPCACHE: yes
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
- PHP_VER: 7.4.0
ARCH: x64
TS: 1
Expand Down Expand Up @@ -119,6 +125,12 @@ build_script:
Invoke-WebRequest "http://windows.php.net/downloads/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"
if (-not (Test-Path c:\build-cache\$bname)) {
Invoke-WebRequest "https://windows.php.net/downloads/qa/archives/$bname" -OutFile "c:\build-cache\$bname"
if (-not (Test-Path c:\build-cache\$bname)) {
Invoke-WebRequest "https://windows.php.net/downloads/qa/$bname" -OutFile "c:\build-cache\$bname"
}
}
}
}
$dname0 = 'php-' + $env:PHP_VER + '-devel-' + $env:VC.toUpper() + '-' + $env:ARCH
Expand Down Expand Up @@ -175,6 +187,12 @@ test_script:
Invoke-WebRequest "http://windows.php.net/downloads/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"
if (-not (Test-Path c:\build-cache\$bname)) {
Invoke-WebRequest "https://windows.php.net/downloads/qa/archives/$bname" -OutFile "c:\build-cache\$bname"
if (-not (Test-Path c:\build-cache\$bname)) {
Invoke-WebRequest "https://windows.php.net/downloads/qa/$bname" -OutFile "c:\build-cache\$bname"
}
}
}
}
$dname = 'php-' + $env:PHP_VER + $ts_part + '-' + $env:VC.toUpper() + '-' + $env:ARCH
Expand Down

0 comments on commit d56c98b

Please sign in to comment.