2019-08-27 13:46:54 +00:00
|
|
|
version: 2.28.0.{build}
|
2015-12-13 00:05:14 +00:00
|
|
|
pull_requests:
|
|
|
|
do_not_increment_build_number: true
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- openssl
|
|
|
|
skip_tags: true
|
|
|
|
os: Visual Studio 2015
|
|
|
|
shallow_clone: true
|
|
|
|
clone_depth: 1
|
|
|
|
|
|
|
|
environment:
|
2017-03-17 23:40:39 +00:00
|
|
|
MSYS2_PATH_TYPE: inherit
|
|
|
|
CHERE_INVOKING: enabled_from_arguments
|
2015-12-13 00:05:14 +00:00
|
|
|
matrix:
|
2017-03-17 23:40:39 +00:00
|
|
|
- MSYSTEM: MINGW64
|
|
|
|
- MSYSTEM: MINGW32
|
|
|
|
|
2015-12-13 00:05:14 +00:00
|
|
|
install:
|
2019-05-31 13:32:32 +00:00
|
|
|
- c:\msys64\usr\bin\bash -lc "pacman --noconfirm -Rns gcc-fortran gcc mingw-w64-{i686,x86_64}-gcc-ada mingw-w64-{i686,x86_64}-gcc-objc"
|
2018-09-30 20:24:48 +00:00
|
|
|
- c:\msys64\usr\bin\bash -lc "pacman --noconfirm -Syuu --force"
|
2017-03-22 13:49:44 +00:00
|
|
|
|
2018-09-30 20:24:48 +00:00
|
|
|
- c:\msys64\usr\bin\bash -lc "pacman --noconfirm -Syuu --force"
|
2017-03-17 23:40:39 +00:00
|
|
|
|
|
|
|
- if "%MSYSTEM%" == "MINGW64" (
|
|
|
|
c:\msys64\usr\bin\bash -lc "pacman --noconfirm -S mingw-w64-x86_64-boost mingw-w64-x86_64-miniupnpc"
|
2015-12-13 00:05:14 +00:00
|
|
|
) else (
|
2017-03-17 23:40:39 +00:00
|
|
|
c:\msys64\usr\bin\bash -lc "pacman --noconfirm -S mingw-w64-i686-boost mingw-w64-i686-miniupnpc"
|
2015-12-13 00:05:14 +00:00
|
|
|
)
|
2017-03-17 23:40:39 +00:00
|
|
|
|
|
|
|
- if "%MSYSTEM%" == "MINGW64" (
|
2015-12-13 00:05:14 +00:00
|
|
|
set "bitness=64"
|
|
|
|
) else (
|
|
|
|
set "bitness=32"
|
|
|
|
)
|
|
|
|
|
|
|
|
build_script:
|
|
|
|
- cmd: >-
|
2017-03-17 23:40:39 +00:00
|
|
|
cd \projects\i2pd
|
2015-12-13 00:05:14 +00:00
|
|
|
|
2017-03-17 23:40:39 +00:00
|
|
|
echo MSYSTEM = %MSYSTEM%, bitness = %bitness%
|
2015-12-13 00:05:14 +00:00
|
|
|
|
2017-03-17 23:40:39 +00:00
|
|
|
- c:\msys64\usr\bin\bash -lc "make USE_UPNP=yes -j2"
|
|
|
|
- 7z a -tzip -mx9 -mmt i2pd-mingw-win%bitness%.zip i2pd.exe
|
2015-12-13 00:05:14 +00:00
|
|
|
|
|
|
|
test: off
|
2017-03-17 23:40:39 +00:00
|
|
|
|
2015-12-13 00:05:14 +00:00
|
|
|
artifacts:
|
2017-03-17 23:40:39 +00:00
|
|
|
- path: i2pd-mingw-win*.zip
|