File tree 3 files changed +20
-30
lines changed
3 files changed +20
-30
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ del /f /q C:\Windows\System32\libssl-1_1-x64.dll >NUL 2>NUL
24
24
if %errorlevel% neq 0 exit /b 3
25
25
26
26
call %~dp0 find-target-branch.bat
27
+ echo Branch: %BRANCH%
27
28
set STABILITY = staging
28
29
set DEPS_DIR = %PHP_BUILD_CACHE_BASE_DIR% \deps-%BRANCH% -%PHP_SDK_VS% -%PHP_SDK_ARCH%
29
30
rem SDK is cached, deps info is cached as well
Original file line number Diff line number Diff line change 1
1
@ echo off
2
- SetLocal EnableDelayedExpansion
3
2
4
- if /i " %APPVEYOR% " equ " True" (
5
- if /i " %APPVEYOR_REPO_BRANCH:~0 ,4 % " equ " php-" (
6
- set BRANCH = %APPVEYOR_REPO_BRANCH:~4 ,3 %
7
- ) else (
8
- set BRANCH = master
9
- )
10
- ) else (
11
- if " %GITHUB_BASE_REF% " equ " master" (
12
- set BRANCH = master
13
- ) else (
14
- if " %GITHUB_HEAD_REF% " equ " master" (
15
- set BRANCH = master
16
- ) else (
17
- for /f " usebackq tokens=3" %%i in (`findstr PHP_MAJOR_VERSION main\php_version.h`) do set BRANCH = %%i
18
- for /f " usebackq tokens=3" %%i in (`findstr PHP_MINOR_VERSION main\php_version.h`) do set BRANCH = !BRANCH! .%%i
19
- )
20
- )
3
+ for /f " usebackq tokens=3" %%i in (`findstr PHP_MAJOR_VERSION main\php_version.h`) do set BRANCH = %%i
4
+ for /f " usebackq tokens=3" %%i in (`findstr PHP_MINOR_VERSION main\php_version.h`) do set BRANCH = %BRANCH% .%%i
5
+
6
+ if /i " %BRANCH% " equ " 8.3" (
7
+ set BRANCH = master
21
8
)
22
- echo !BRANCH!
Original file line number Diff line number Diff line change 22
22
CXX : ccache g++
23
23
jobs :
24
24
LINUX_X64 :
25
+ if : false
25
26
strategy :
26
27
fail-fast : false
27
28
matrix :
73
74
- name : Verify generated files are up to date
74
75
uses : ./.github/actions/verify-generated-files
75
76
LINUX_X32 :
77
+ if : false
76
78
name : LINUX_X32_DEBUG_ZTS
77
79
runs-on : ubuntu-latest
78
80
container :
@@ -119,6 +121,7 @@ jobs:
119
121
-d opcache.enable_cli=1
120
122
-d opcache.jit_buffer_size=16M
121
123
MACOS_DEBUG_NTS :
124
+ if : false
122
125
runs-on : macos-11
123
126
steps :
124
127
- name : git checkout
@@ -178,17 +181,17 @@ jobs:
178
181
run : git config --global core.autocrlf false && git config --global core.eol lf
179
182
- name : git checkout
180
183
uses : actions/checkout@v2
181
- - name : Setup MySQL
182
- run : |
183
- choco install mysql -y --no-progress --params="/port:3306"
184
- mysql.exe --port=3306 --user=root --password="" -e "ALTER USER 'root'@'localhost' IDENTIFIED BY 'Password12!'; FLUSH PRIVILEGES;"
185
- - name : Setup MSSQL
186
- run : |
187
- choco install sql-server-express -y --no-progress --install-arguments="/SECURITYMODE=SQL /SAPWD=Password12!"
188
- - name : Setup PostgreSQL
189
- run : |
190
- Set-Service -Name "postgresql-x64-14" -StartupType manual -Status Running
191
- pwsh -Command { $env:PGPASSWORD="root"; & "$env:PGBIN\psql" -U postgres -c "ALTER USER postgres WITH PASSWORD 'Password12!';" }
184
+ # - name: Setup MySQL
185
+ # run: |
186
+ # choco install mysql -y --no-progress --params="/port:3306"
187
+ # mysql.exe --port=3306 --user=root --password="" -e "ALTER USER 'root'@'localhost' IDENTIFIED BY 'Password12!'; FLUSH PRIVILEGES;"
188
+ # - name: Setup MSSQL
189
+ # run: |
190
+ # choco install sql-server-express -y --no-progress --install-arguments="/SECURITYMODE=SQL /SAPWD=Password12!"
191
+ # - name: Setup PostgreSQL
192
+ # run: |
193
+ # Set-Service -Name "postgresql-x64-14" -StartupType manual -Status Running
194
+ # pwsh -Command { $env:PGPASSWORD="root"; & "$env:PGBIN\psql" -U postgres -c "ALTER USER postgres WITH PASSWORD 'Password12!';" }
192
195
- name : Build
193
196
run : .github/scripts/windows/build.bat
194
197
- name : Test
You can’t perform that action at this time.
0 commit comments