Appveyor for windows CI
This commit is contained in:
parent
9f6f0818c7
commit
947fb0832c
5
.appveyor_msys_build.sh
Normal file
5
.appveyor_msys_build.sh
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
export PATH=/c/msys64/mingw$ABI/bin:$PATH
|
||||||
|
cd /c/projects/mpir
|
||||||
|
./configure ABI=$ABI
|
||||||
|
make
|
||||||
|
make check
|
31
appveyor.yml
Normal file
31
appveyor.yml
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
version: 1.0.{build}
|
||||||
|
build:
|
||||||
|
verbosity: minimal
|
||||||
|
|
||||||
|
environment:
|
||||||
|
matrix:
|
||||||
|
- BUILD_TYPE: Release
|
||||||
|
COMPILER: MSVC15
|
||||||
|
PLATFORM: x64
|
||||||
|
- BUILD_TYPE: Release
|
||||||
|
COMPILER: MSVC15
|
||||||
|
PLATFORM: Win32
|
||||||
|
- COMPILER: MinGW-w64
|
||||||
|
ABI: 64
|
||||||
|
- COMPILER: MinGW-w64
|
||||||
|
ABI: 32
|
||||||
|
- BUILD_TYPE: Debug
|
||||||
|
COMPILER: MSVC15
|
||||||
|
PLATFORM: x64
|
||||||
|
- BUILD_TYPE: Debug
|
||||||
|
COMPILER: MSVC15
|
||||||
|
PLATFORM: Win32
|
||||||
|
|
||||||
|
build_script:
|
||||||
|
- if [%COMPILER%]==[MinGW-w64] C:\msys64\usr\bin\sh.exe --login /c/projects/mpir/.appveyor_msys_build.sh
|
||||||
|
- if [%COMPILER%]==[MSVC15] cd build.vc14
|
||||||
|
- if [%COMPILER%]==[MSVC15] msbuild.bat gc lib %PLATFORM% %BUILD_TYPE% +tests
|
||||||
|
|
||||||
|
test_script:
|
||||||
|
- if [%COMPILER%]==[MSVC15] cd mpir-tests
|
||||||
|
- if [%COMPILER%]==[MSVC15] python %cd%\run-tests.py 0
|
@ -30,8 +30,7 @@ if /i "%libp%" == "LIB" (
|
|||||||
)
|
)
|
||||||
|
|
||||||
if /i "%5" EQU "+tests" (
|
if /i "%5" EQU "+tests" (
|
||||||
set TESTDIR=.\mpir-tests\
|
for /d %%d in (mpir-tests\*) do (
|
||||||
for /d %%d in (%TESTDIR%*) do (
|
|
||||||
for %%f in (%%d\*.vcxproj) do (
|
for %%f in (%%d\*.vcxproj) do (
|
||||||
%msbdir%\msbuild.exe /property:SolutionDir=..\..\ /property:OutDir=..\..\%plat%\%conf%\ /p:Platform=%plat% /p:Configuration=%conf% %%f
|
%msbdir%\msbuild.exe /property:SolutionDir=..\..\ /property:OutDir=..\..\%plat%\%conf%\ /p:Platform=%plat% /p:Configuration=%conf% %%f
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user