@@ -5,31 +5,32 @@ os: unstable #http://help.appveyor.com/discussions/suggestions/427-pre-install-c
5
5
platform :
6
6
- Win32
7
7
8
- clone_folder : C:/projects/haxe
9
-
10
8
environment :
11
9
global :
12
10
NEKO_ROOT : C:/projects/neko
13
11
HAXELIB_ROOT : C:/projects/haxelib
14
12
CYG_ARCH : x86
15
13
CYG_ROOT : C:/cygwin
16
14
CYG_SETUP : C:/cygwin/setup-x86.exe
17
- WODI_ARCH : 32
18
15
MINGW_ARCH : i686
16
+ WODI : wodi32
17
+ ADD_REVISION : 1
18
+ OCAMLOPT : ocamlopt.opt
19
19
TEST : " neko,cs,java,cpp,macro"
20
20
21
21
skip_tags : true
22
22
23
23
install :
24
24
- ' git submodule update --init --recursive'
25
+ - cinst 7zip.commandline -y
25
26
# Install ocaml using wodi
26
27
- appveyor DownloadFile "http://cygwin.com/setup-%CYG_ARCH%.exe" -FileName "%CYG_ROOT%\setup.exe"
27
28
- ' %CYG_ROOT%/setup.exe -q -R "%CYG_ROOT%" -P dos2unix -P diffutils -P cpio -P make -P patch -P mingw64-%MINGW_ARCH%-gcc-core -P mingw64-%MINGW_ARCH%-gcc-g++ > log.txt || type log.txt'
28
29
- ' %CYG_ROOT%/bin/bash -lc "cygcheck -dc cygwin" > log.txt || type log.txt'
29
- - ' %CYG_ROOT%/bin/bash -lc "wget -q http://ml.ignorelist.com/wodi/8/wodi%WODI_ARCH %.tar.xz -O /tmp/wodi%WODI_ARCH %.tar.xz" > log.txt || type log.txt'
30
- - ' %CYG_ROOT%/bin/bash -lc "cd /tmp && rm -rf wodi%WODI_ARCH % && tar -xf wodi%WODI_ARCH %.tar.xz && bash wodi%WODI_ARCH %/install.sh" > log.txt || type log.txt'
30
+ - ' %CYG_ROOT%/bin/bash -lc "wget -q http://ml.ignorelist.com/wodi/8/%WODI %.tar.xz -O /tmp/%WODI %.tar.xz" > log.txt || type log.txt'
31
+ - ' %CYG_ROOT%/bin/bash -lc "cd /tmp && rm -rf %WODI % && tar -xf %WODI %.tar.xz && bash %WODI %/install.sh" > log.txt || type log.txt'
31
32
- ' %CYG_ROOT%/bin/bash -lc "godi_add godi-zip" > log.txt || type log.txt'
32
- - ' set PATH=%PATH%;%CYG_ROOT%/opt/wodi%WODI_ARCH %/bin'
33
+ - ' set PATH=%PATH%;%CYG_ROOT%/opt/%WODI %/bin'
33
34
# Install neko
34
35
- cinst make -y
35
36
- ' git clone --recursive https://github.com/HaxeFoundation/neko.git %NEKO_ROOT%'
@@ -46,8 +47,10 @@ install:
46
47
build_script :
47
48
- ' cd %APPVEYOR_BUILD_FOLDER%'
48
49
- ' set PATH=%PATH%;%APPVEYOR_BUILD_FOLDER%'
49
- - ' %CYG_ROOT%/bin/bash -lc "cd \"$OLDPWD\" && make -s -f Makefile.win WODI=wodi%WODI_ARCH% OCAMLOPT=ocamlopt.opt ADD_REVISION=1"'
50
- - ' %CYG_ROOT%/bin/bash -lc "cd \"$OLDPWD\" && make -s -f Makefile.win WODI=wodi%WODI_ARCH% OCAMLOPT=ocamlopt.opt tools"'
50
+ - ' %CYG_ROOT%/bin/bash -lc "cd \"$OLDPWD\" && make -s -f Makefile.win"'
51
+ - ' %CYG_ROOT%/bin/bash -lc "cd \"$OLDPWD\" && make -s -f Makefile.win tools"'
52
+ - ' %CYG_ROOT%/bin/bash -lc "cd \"$OLDPWD\" && make -s -f Makefile.win package_bin"'
53
+ - dir %APPVEYOR_BUILD_FOLDER%\out
51
54
- cd %APPVEYOR_BUILD_FOLDER%/tests/
52
55
- mkdir "%HAXELIB_ROOT%"
53
56
- haxelib setup "%HAXELIB_ROOT%"
@@ -57,3 +60,6 @@ test_script:
57
60
- haxe -version
58
61
- haxe RunCi.hxml
59
62
- neko RunCi.n
63
+
64
+ artifacts :
65
+ - path : out/haxe_*.zip
0 commit comments