Skip to content

Commit

Permalink
Fix for windows appveyor pipeline. Use strawberry perl to run build s…
Browse files Browse the repository at this point in the history
…cript.
  • Loading branch information
thor2016 committed Jul 18, 2023
1 parent 4c28daf commit 1adbb9c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
7 changes: 3 additions & 4 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -27,23 +26,23 @@ for:
- job_name: Windows 32

build_script:
- cmd: perl pipelines/build.pl win32
- cmd: pipelines/WinAppveyorBuild.bat win32

-
matrix:
only:
- job_name: Windows 64

build_script:
- cmd: perl pipelines/build.pl win64
- cmd: pipelines/WinAppveyorBuild.bat win64

-
matrix:
only:
- job_name: Win64 Qt

build_script:
- cmd: perl pipelines/build.pl win64-QtSDL
- cmd: pipelines/WinAppveyorBuild.bat win64-QtSDL

-
matrix:
Expand Down
11 changes: 11 additions & 0 deletions pipelines/WinAppveyorBuild.bat
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 1adbb9c

Please sign in to comment.