File tree Expand file tree Collapse file tree 1 file changed +54
-0
lines changed Expand file tree Collapse file tree 1 file changed +54
-0
lines changed Original file line number Diff line number Diff line change
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
+
You can’t perform that action at this time.
0 commit comments