-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathappveyor.yml
More file actions
107 lines (69 loc) · 2.77 KB
/
appveyor.yml
File metadata and controls
107 lines (69 loc) · 2.77 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
95
96
97
98
99
100
101
102
103
104
105
106
107
platform:
- Win32
os: Visual Studio 2013
environment:
BOOST_ROOT: C:\Libraries\boost_1_58_0
BOOST_LIBRARYDIR: C:\Libraries\boost_1_58_0\lib64-msvc-12.0
matrix:
- {}
install:
- echo Downloading macdeps
- ps: Start-FileDownload 'http://885875f368d47bdd75f4-fccc9ce7610ca8b8e6180232413c69c8.r20.cf2.rackcdn.com/macdeps.zip' -FileName 'C:\Libraries\macdeps.zip'
- echo unzipping
- 7z x C:\Libraries\macdeps.zip -oC:\Libraries\ -r
- echo Downloading Macaroni
- mkdir C:\Libraries\Macaroni
- ps: Start-FileDownload 'http://border-town.com/macaroni/downloads/macaroni-0.4.3-windows.zip' -FileName 'C:\Libraries\Macaroni\macaroni.zip'
- echo unzipping
- 7z x C:\Libraries\Macaroni\macaroni.zip -oC:\Libraries\Macaroni\ -r
- SET PATH=%PATH%;C:\Libraries\Macaroni
- mkdir "%USERPROFILE%\Macaroni"
- echo 'Writing init.lua and site-config.jam...'
- cp %APPVEYOR_BUILD_FOLDER%\Ci\AppVeyor\init.lua %USERPROFILE%\Macaroni\init.lua
- cp %APPVEYOR_BUILD_FOLDER%\Ci\AppVeyor\site-config.jam %USERPROFILE%\site-config.jam
- SET PATH=%PATH%;C:\Python27\Scripts
- pip install sphinx
build_script:
- cmd: >-
echo Time to build Bjam
cd C:\Libraries\boost_1_58_0
bootstrap
SET PATH=%PATH%;C:\Libraries\boost_1_58_0;C:\Libraries\Macaroni
SET PATH=%PATH%;C:\Python27;C:\Python27\Scripts
echo What does init.lua look like?
type "%USERPROFILE%\Macaroni\init.lua"
echo And site config?
type "%USERPROFILE%\site-config.jam"
echo Mystery of Libraries dir?
dir C:\Libraries
echo Is my friend Bjam there?
dir C:\Libraries\boost_1_58_0
echo "Installing Lua library"
cd %APPVEYOR_BUILD_FOLDER%\Main\Dependencies\Lua
call macaroni -i
echo MoonscriptDeps time.
cd ..\MoonscriptDeps
call macaroni -i
cd %APPVEYOR_BUILD_FOLDER%\Main\App
macaroni --messagesPath Source\main\resources\Messages.txt --libraryRepoPath=..\Libraries -g --showPaths --printTimes --verbose -b -o "link=static toolset=msvc-12.0 -j8 release"
test_script:
- cmd: >-
echo Running integration tests
echo Setting tools for Path
SET PATH=%PATH%;C:\Libraries\boost_1_58_0
SET CAVATAPPI=%APPVEYOR_BUILD_FOLDER%\Main\Cavatappi
SET PATH=%PATH%;C:\Libraries\boost_1_58_0;%CAVATAPPI%
SET PATH=%PATH%;C:\Python27
cd %APPVEYOR_BUILD_FOLDER%\Next\Tests
cavatappi -c -i
cd %APPVEYOR_BUILD_FOLDER%\Next\Release
cavatappi -b
appveyor Push-AppveyorArtifact Main\GeneratedSource\exe\macaroni.exe
appveyor Push-AppveyorArtifact Main\Cavatappi\cavatappi.bat
artifacts:
- path: Main\GeneratedSource\exe\macaroni.exe
name: macaroni.exe
- path: appveyor.yml
name: test-arty
- path: Next\Release\target\*
name: release