forked from OpenVPN/openvpn-gui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
51 lines (48 loc) · 1.35 KB
/
.appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
version: "cygwin-{build}"
skip_commits:
files:
- .travis.yml
environment:
matrix:
- BUILDSYSTEM: cygwin
ARCH: x86
CYGWIN: C:\Cygwin
CHOST: i686-w64-mingw32
CC: i686-w64-mingw32-gcc
- BUILDSYSTEM: cygwin
ARCH: x86_64
CYGWIN: C:\Cygwin64
CHOST: x86_64-w64-mingw32
CC: x86_64-w64-mingw32-gcc
- BUILDSYSTEM: VS2019
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
for:
-
matrix:
only:
- BUILDSYSTEM: cygwin
build_script:
- "%CYGWIN%\\setup-%ARCH%.exe -g -q -P mingw64-i686-openssl,mingw64-x86_64-openssl,cygwin-devel"
- "%CYGWIN%\\bin\\bash -lc 'set -eux; cd /cygdrive/c/projects/%APPVEYOR_PROJECT_SLUG%; autoreconf -iv; ./configure --prefix=/ --libdir=/lib --host=$CHOST --build=i686-pc-cygwin --program-prefix=\'\'; make'"
artifacts:
- path: openvpn-gui.exe
on_failure:
- cmd: appveyor PushArtifact config.log
-
matrix:
only:
- BUILDSYSTEM: VS2019
install:
- cd C:\Tools\vcpkg
- git pull
- .\bootstrap-vcpkg.bat
- .\vcpkg integrate install
- .\vcpkg install openssl-windows:x64-windows"
- cd %APPVEYOR_BUILD_FOLDER%
cache: c:\tools\vcpkg\installed\
build:
project: openvpn-gui.sln
platform: x64
configuration: Debug
artifacts:
- path: x64/Debug/openvpn-gui.exe