-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
@echo off | ||
rem mysql_config replacement script | ||
rem based on https://github.com/StrawberryPerl/build-extlibs/blob/master/mysql.special/mysql_config.bat | ||
|
||
set ROOT=c:\Program Files\MySQL\MySQL Server 8.0 | ||
|
||
set XCFLAGS="-I%ROOT%\include" | ||
set XLIBS="-L%ROOT%\lib" -lmysql | ||
set XVERSION=8.0.35 | ||
set XPREFIX=%ROOT%..\ | ||
|
||
for %%p in (%*) do ( | ||
if x%%p == x--cflags echo %XCFLAGS% | ||
if x%%p == x--libs echo %XLIBS% | ||
if x%%p == x--version echo %XVERSION% | ||
if x%%p == x--prefix echo %XPREFIX% | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
version: 1.0.{build} | ||
|
||
image: Visual Studio 2022 | ||
|
||
services: | ||
- mysql | ||
|
||
init: | ||
- ps: Start-Service MySQL80 | ||
|
||
install: | ||
- path C:\Program Files\MySQL\MySQL Server 8.0\bin;C:\strawberry\perl\bin;C:\strawberry\perl\site\bin;C:\strawberry\c\bin;%PATH% | ||
- mkdir %APPVEYOR_BUILD_FOLDER%\tmp | ||
- set TMPDIR=%APPVEYOR_BUILD_FOLDER%\tmp | ||
- mysql.exe --version | ||
- perl -V | ||
- cpan App::cpanminus | ||
- cpanm -q --showdeps --with-develop --with-suggests . | findstr /v "^perl\>" | cpanm -n | ||
- cpanm -q -n Devel::CheckLib | ||
|
||
build_script: | ||
- perl Makefile.PL --testuser=root --testpassword=Password12! --mysql_config=CI/mysql_config.bat | ||
|
||
test_script: | ||
- gmake test |