Skip to content

Commit c37298c

Browse files
committed
move AppVeyor scripts to .github/
1 parent a823f4a commit c37298c

File tree

9 files changed

+14
-11
lines changed

9 files changed

+14
-11
lines changed

.appveyor.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,7 @@ version: "{branch}.build.{build}"
22

33
image: Visual Studio 2019
44

5-
branches:
6-
except:
7-
- PHP-5.6
8-
- PHP-7.0
9-
10-
clone_depth: 64
5+
clone_depth: 1
116

127
skip_commits:
138
files:
@@ -51,10 +46,10 @@ services:
5146

5247
platform:
5348
- x64
54-
# - x86
49+
#- x86
5550

5651
build_script:
57-
- appveyor\build.bat
52+
- .github\scripts\windows\build.bat
5853

5954
test_script:
60-
- appveyor\test.bat
55+
- .github\scripts\windows\test.bat

appveyor/build.bat renamed to .github/scripts/windows/build.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ if not exist "%SDK_RUNNER%" (
3838
exit /b 3
3939
)
4040

41-
cmd /c %SDK_RUNNER% -t %APPVEYOR_BUILD_FOLDER%\appveyor\build_task.bat
41+
cmd /c %SDK_RUNNER% -t %APPVEYOR_BUILD_FOLDER%\.github\scripts\windows\build_task.bat
4242
if %errorlevel% neq 0 exit /b 3
4343

4444
exit /b 0
File renamed without changes.

appveyor/test.bat renamed to .github/scripts/windows/test.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ if not exist "%SDK_RUNNER%" (
66
exit /b 3
77
)
88

9-
cmd /c %SDK_RUNNER% -t %APPVEYOR_BUILD_FOLDER%\appveyor\test_task.bat
9+
cmd /c %SDK_RUNNER% -t %APPVEYOR_BUILD_FOLDER%\.github\scripts\windows\test_task.bat
1010
if %errorlevel% neq 0 exit /b 3
1111

1212
exit /b 0
File renamed without changes.

buildconf.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
@echo off
2+
23
cscript /nologo /e:jscript win32\build\buildconf.js %*
34
SET PHP_BUILDCONF_PATH=%~dp0
45
copy %PHP_BUILDCONF_PATH%\win32\build\configure.bat %PHP_BUILDCONF_PATH% > nul

ext/standard/tests/file/windows_acls/common.inc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ function skipif() {
1616
if(stripos(php_uname(), 'XP') !== FALSE) {
1717
die('skip windows 2003 or newer only test');
1818
}
19+
if (getenv('GITHUB_ACTIONS')) {
20+
// bug44859_4.phpt test fails on the 1st run
21+
// other ACL tests cannot be run twice
22+
die('skip failing on Github Actions (but passes in AppVeyor)');
23+
}
1924
}
2025

2126
function get_username(){

win32/build/configure.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
@echo off
2+
23
cscript /nologo /e:jscript configure.js %*

win32/build/phpize.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
@echo off
2+
23
SET PHP_BUILDCONF_PATH=%~dp0
34
cscript /nologo /e:jscript %PHP_BUILDCONF_PATH%\script\phpize.js %*
45
IF NOT EXIST configure.bat (

0 commit comments

Comments
 (0)