Skip to content

Commit 4b46549

Browse files
layusazarzadavila
authored andcommitted
init appveyor.yml
1 parent 6b06b1a commit 4b46549

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed

appveyor.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
version: 2.0.0-beta.1-{branch}+{build}
2+
image: Visual Studio 2015
3+
environment:
4+
BOOST_ROOT: C:\Libraries\boost_1_65_1
5+
6+
install:
7+
- 'git submodule update --init'
8+
- ps: '$env:path = $env:path.replace("C:\Program Files\Git\usr\bin;", "")'
9+
- ps: '$env:path = "C:\msys64\mingw64\bin;C:\msys64\usr\bin\;" + $env:path'
10+
11+
build_script:
12+
13+
# uninstall tcl/tk
14+
- pacman -Rdd --noconfirm mingw-w64-x86_64-tcl mingw-w64-x86_64-tk
15+
16+
# build tcl
17+
- cd C:\projects
18+
- wget -O tcl-release.tar.gz https://github.com/tcltk/tcl/archive/release.tar.gz
19+
- tar xf tcl-release.tar.gz
20+
- cd tcl-release/win/
21+
- bash configure --enable-threads --enable-64bit --prefix=C:/tcltk/
22+
- make
23+
- make install
24+
25+
# build tk
26+
- cd C:\projects
27+
- wget -O tk-release.tar.gz https://github.com/tcltk/tk/archive/release.tar.gz
28+
- tar xf tk-release.tar.gz
29+
- cd tk-release/win/
30+
- bash configure --enable-64bit --prefix=C:/tcltk/ --with-tcl=../../tcl-release/win/
31+
- make
32+
- make install
33+
34+
# build boost
35+
- cd %BOOST_ROOT%
36+
- call bootstrap.bat gcc
37+
- cat bootstrap.log
38+
- .\b2 toolset=gcc variant=release --with-thread --with-system --with-random --with-filesystem --with-program_options
39+
40+
# install emacs
41+
# We cannot use $(pacman -S *-emacs because ISS packs C:/.../emacs.exe/../* which would include all of msys)
42+
- choco install emacs64
43+
44+
# build mozart2
45+
- mkdir C:\projects\mozart2\build
46+
- cd C:\projects\mozart2\build
47+
- cmake -DCMAKE_BUILD_TYPE=Release -G"MSYS Makefiles" -DCMAKE_PREFIX_PATH=C:/tcltk -DBOOST_ROOT="%BOOST_ROOT%" -DISS_INCLUDE_TCL=ON -DISS_INCLUDE_EMACS=ON C:\projects\mozart2
48+
- make check || true
49+
- cmake --build . --target installer -- VERBOSE=1
50+
51+
artifacts:
52+
- path: build\mozart2-2.0.0-beta.1-x86_64-windows.exe
53+
name: binary installer
54+

0 commit comments

Comments
 (0)