and one more...

This commit is contained in:
R4SAS 2017-03-17 22:45:52 +03:00
parent 218a1487f1
commit 86d96b56c0

View file

@ -8,40 +8,35 @@ skip_tags: true
os: Visual Studio 2015 os: Visual Studio 2015
shallow_clone: true shallow_clone: true
clone_depth: 1 clone_depth: 1
environment: environment:
MSYS2_PATH_TYPE: inherit MSYS2_PATH_TYPE: inherit
CHERE_INVOKING: enabled_from_arguments CHERE_INVOKING: enabled_from_arguments
matrix: matrix:
- type: static - MSYSTEM: MINGW64
x64: 1 - MSYSTEM: MINGW32
- type: static
x64: 0
install: install:
- if "%x64%"=="1" ( - if "%MSYSTEM%" == "MINGW64" (
set "bitness=64"
set "MSYSTEM=MINGW64"
) else (
set "bitness=32"
set "MSYSTEM=MINGW32"
)
- if "%x64%" == "1" (
C:\msys64\usr\bin\bash -lc "pacman --noconfirm -Su mingw-w64-x86_64-boost mingw-w64-x86_64-openssl mingw-w64-x86_64-miniupnpc" C:\msys64\usr\bin\bash -lc "pacman --noconfirm -Su mingw-w64-x86_64-boost mingw-w64-x86_64-openssl mingw-w64-x86_64-miniupnpc"
) else ( ) else (
C:\msys64\usr\bin\bash -lc "pacman --noconfirm -Su mingw-w64-i686-boost mingw-w64-i386-openssl mingw-w64-i686-miniupnpc" C:\msys64\usr\bin\bash -lc "pacman --noconfirm -Su mingw-w64-i686-boost mingw-w64-i386-openssl mingw-w64-i686-miniupnpc"
) )
build_script: build_script:
- cmd: >- - cmd: >-
cd \projects\i2pd cd \projects\i2pd
echo "bitness=%bitness%; type=%type%; variant=%variant%" echo "MSYSTEM=%bitness%"
- if "%x64%" == "1"( - if "%MSYSTEM%" == "MINGW64"(
C:\msys64\usr\bin\bash -lc "make USE_UPNP=YES -I/mingw64/include/" C:\msys64\usr\bin\bash -lc "make USE_UPNP=YES -I/mingw64/include/"
) else ( ) else (
C:\msys64\usr\bin\bash -lc "make USE_UPNP=YES -I/mingw32/include/" C:\msys64\usr\bin\bash -lc "make USE_UPNP=YES -I/mingw32/include/"
) )
- cmd: 7z a -tzip -mx9 -mmt i2pd-mingw-win%bitness%.zip i2pd.exe - cmd: 7z a -tzip -mx9 -mmt i2pd-mingw-win%bitness%.zip i2pd.exe
test: off test: off
artifacts: artifacts:
- path: i2pd-mingw-win64.zip - path: i2pd-mingw-win64.zip
- path: i2pd-mingw-win32.zip - path: i2pd-mingw-win32.zip