mirror of
https://github.com/deneraraujo/OpenVPNAdapter.git
synced 2026-01-31 00:00:06 +08:00
33 lines
789 B
YAML
33 lines
789 B
YAML
version: 1.0.{build}
|
|
|
|
image: Visual Studio 2019
|
|
|
|
clone_folder: c:\ovpn3\core
|
|
|
|
install:
|
|
- pip install rfc6266 requests
|
|
- if not exist "C:\strawberry" choco install strawberryperl -y
|
|
- set PATH=C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;%PATH%
|
|
|
|
environment:
|
|
MSVC_DIR: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
|
|
O3: C:\ovpn3
|
|
STATIC: 1
|
|
|
|
before_build:
|
|
- cmd: cd win && python buildep.py
|
|
|
|
after_build:
|
|
- cmd: copy c:\ovpn3\deps\amd64\openssl\out32dll\ssleay32.dll c:\ovpn3\core\win\x64\ReleaseOpenSSL\
|
|
- cmd: copy c:\ovpn3\deps\amd64\openssl\out32dll\libeay32.dll c:\ovpn3\core\win\x64\ReleaseOpenSSL\
|
|
|
|
platform: x64
|
|
|
|
configuration: ReleaseOpenSSL
|
|
|
|
artifacts:
|
|
- path: win\x64\ReleaseOpenSSL\cli.exe
|
|
- path: win\x64\ReleaseOpenSSL\*.dll
|
|
|
|
|