-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappveyor.yml
More file actions
94 lines (79 loc) · 3.43 KB
/
Copy pathappveyor.yml
File metadata and controls
94 lines (79 loc) · 3.43 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
#cache:
# - packages -> **\packages.config # preserve "packages" directory in the root of build folder but will reset it if packages.config is modified
# - projectA\libs
# - node_modules # local npm modules
# - '%APPDATA%\npm-cache' # npm cache
# - '%USERPROFILE%\.nuget\packages -> **\project.json' # project.json cache
# https://www.appveyor.com/docs/appveyor-yml/
version: 1.0.{build}-{branch}
branches:
only:
- master
- develop
image: Visual Studio 2017
# fetch repository as zip archive
shallow_clone: true # default is "false"
# except:
# - coverity_scan
#environment:
# fast_finish: true
# matrix:
# - platform: x86
# os: Visual Studio 2017
# env: BS=bjam GENERATOR="MinGW Makefiles" MEMCHECK=DRMEMORY PLATFROM=x86
# configuration: Release
# PROJECT_BASE: "C:/projects/cpp_sandbox"
install:
#- C:\"Program Files (x86)"\"Microsoft Visual Studio 14.0"\VC\vcvarsall.bat %PLATFORM%
- ps: cd "${env:APPVEYOR_BUILD_FOLDER}"
- appveyor DownloadFile "https://dl.bintray.com/boostorg/release/1.66.0/source/boost_1_66_0.7z"
- ls -l && 7z x boost_*.7z > nul
- del boost_*.7z > nul
- ps: cd "${env:APPVEYOR_BUILD_FOLDER}/boost*/"
- ls -l "C:\Program Files\Microsoft SDKs"
#- cmd: call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64
- ls -l "C:\Program Files (x86)"
#- cmd: call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86_amd64
- ls -l "C:\Program Files (x86)\Microsoft Visual Studio"
- ls -l "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC"
#- ls -l "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX64\x64"
- ls -l "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\bin\HostX64\x64"
#- cl.exe /?
- bootstrap.bat
- b2 headers
#- cat "C:\Users\appveyor\AppData\Local\Temp\1\b2_msvc_14.10.25017_vcvarsx86_amd64_.cmd"
#- cat "C:\Users\appveyor\AppData\Local\Temp\1\b2_msvc_14.12.25827_vcvarsx86_amd64_.cmd"
- set PATH=%PATH%;%CD% # TODO remove
- set BOOST_ROOT=%CD%
- cmd: echo import boost ; > tools/build/src/user-config.jam
- cmd: echo boost.use-project ; >> tools/build/src/user-config.jam
#- cmd: echo using msvc ; >> tools/build/src/user-config.jam
#- cmd: echo using python ; >> tools/build/src/user-config.jam
- cat tools/build/src/user-config.jam
- cmd: cd ..
- hg clone https://bitbucket.org/eigen/eigen -r 3.2.8 EIGEN
- git clone https://github.com/Microsoft/GSL.git GSL
#- cinst drmemory
#- appveyor DownloadFile http://downloads.sourceforge.net/mingw-w64/x86_64-5.2.0-release-posix-seh-rt_v4-rev1.7z
#- 7z x x86_64-5.2.0-release-posix-seh-rt_v4-rev1.7z > nul
- set PATH=%PATH%;mingw64\bin
before_build:
- ps: cd "${env:APPVEYOR_BUILD_FOLDER}"
- cmd: copy /Y NUL Jamroot # ATTRIB -R filename.ext
build_script:
- echo %CD% %PATH% %BOOST_ROOT%
#- bjam toolset=msvc /boost//unit_test_framework # toolset=msvc-14.1
- bjam toolset=msvc
#build:
# parallel: true # enable MSBuild parallel builds
# project: "Script" # path to Visual Studio solution or project
# verbosity: detailed # quiet|minimal|normal|detailed
# to run your custom scripts instead of automatic tests
test_script:
- echo This is my custom test script
# to disable automatic tests
test: off
# run custom scripts before tests
before_test:
# run custom scripts after tests
after_test: