Fix for windows appveyor pipeline. Use strawberry perl to run build script.

This commit is contained in:
harry 2023-07-17 21:45:01 -04:00
parent 4c28daf4a8
commit 1adbb9c91b
2 changed files with 14 additions and 4 deletions

View File

@ -14,7 +14,6 @@ environment:
- job_name: Ubuntu
appveyor_build_worker_image: Ubuntu2004
#appveyor_build_worker_image: Ubuntu1804
- job_name: MacOS
appveyor_build_worker_image: macos-bigsur
@ -27,7 +26,7 @@ for:
- job_name: Windows 32
build_script:
- cmd: perl pipelines/build.pl win32
- cmd: pipelines/WinAppveyorBuild.bat win32
-
matrix:
@ -35,7 +34,7 @@ for:
- job_name: Windows 64
build_script:
- cmd: perl pipelines/build.pl win64
- cmd: pipelines/WinAppveyorBuild.bat win64
-
matrix:
@ -43,7 +42,7 @@ for:
- job_name: Win64 Qt
build_script:
- cmd: perl pipelines/build.pl win64-QtSDL
- cmd: pipelines/WinAppveyorBuild.bat win64-QtSDL
-
matrix:

View File

@ -0,0 +1,11 @@
set PROJECT_ROOT=%~dp0..
set PERL=C:\Strawberry\perl\bin\perl.exe
set JOB=%1
echo %PERL%
echo %JOB%
%PERL% pipelines\build.pl %JOB%
if %ERRORLEVEL% NEQ 0 EXIT /B 1