appveyor.yml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. version: 2.27.0.{build}
  2. pull_requests:
  3. do_not_increment_build_number: true
  4. branches:
  5. only:
  6. - openssl
  7. skip_tags: true
  8. os: Visual Studio 2015
  9. shallow_clone: true
  10. clone_depth: 1
  11. environment:
  12. MSYS2_PATH_TYPE: inherit
  13. CHERE_INVOKING: enabled_from_arguments
  14. matrix:
  15. - MSYSTEM: MINGW64
  16. - MSYSTEM: MINGW32
  17. install:
  18. - 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"
  19. - c:\msys64\usr\bin\bash -lc "pacman --noconfirm -Syuu --force"
  20. - c:\msys64\usr\bin\bash -lc "pacman --noconfirm -Syuu --force"
  21. - if "%MSYSTEM%" == "MINGW64" (
  22. c:\msys64\usr\bin\bash -lc "pacman --noconfirm -S mingw-w64-x86_64-boost mingw-w64-x86_64-miniupnpc"
  23. ) else (
  24. c:\msys64\usr\bin\bash -lc "pacman --noconfirm -S mingw-w64-i686-boost mingw-w64-i686-miniupnpc"
  25. )
  26. - if "%MSYSTEM%" == "MINGW64" (
  27. set "bitness=64"
  28. ) else (
  29. set "bitness=32"
  30. )
  31. build_script:
  32. - cmd: >-
  33. cd \projects\i2pd
  34. echo MSYSTEM = %MSYSTEM%, bitness = %bitness%
  35. - c:\msys64\usr\bin\bash -lc "make USE_UPNP=yes -j2"
  36. - 7z a -tzip -mx9 -mmt i2pd-mingw-win%bitness%.zip i2pd.exe
  37. test: off
  38. artifacts:
  39. - path: i2pd-mingw-win*.zip