-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.appveyor.yml
37 lines (31 loc) · 1.08 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
os: Visual Studio 2017
platform: win32
environment:
global:
CYG_ROOT: C:\cygwin_ci_helloworld
CYG_BASH: C:\cygwin_ci_helloworld\bin\bash
CYG_MIRROR: http://mirrors.kernel.org/sourceware/cygwin/
CYG_PACKAGES: git,make,gcc-core,gcc-g++,cmake
test: off
#
# Setup Cygwin
#
#install:
# - ps: 'Start-FileDownload "https://cygwin.com/setup-x86_64.exe" -FileName "setup-x86_64.exe"'
# - 'setup-x86_64.exe --quiet-mode --no-shortcuts --only-site --root "%CYG_ROOT%" --site "%CYG_MIRROR%" --local-package-dir "%CYG_ROOT%\var\cache\setup" --packages "%CYG_PACKAGES%"'
#
# Build
#
build_script:
#
# Cygwin
#
# - '%CYG_BASH% -lc "cd $APPVEYOR_BUILD_FOLDER; mkdir build_cygwin"'
# - '%CYG_BASH% -lc "cd $APPVEYOR_BUILD_FOLDER/build_cygwin; cmake .."'
# - '%CYG_BASH% -lc "cd $APPVEYOR_BUILD_FOLDER/build_cygwin; make"'
# - '%CYG_BASH% -lc "cp $APPVEYOR_BUILD_FOLDER/test/run.sh ."'
# - '%CYG_BASH% -lc "cd $APPVEYOR_BUILD_FOLDER/build_cygwin; ./run.sh"'
#
- mkdir build && cd build
- cmake .. && msbuild /p:Configuration=Release ci_test.sln && ls -la
- Release\tester.exe