-
Notifications
You must be signed in to change notification settings - Fork 2
/
appveyor.yml
40 lines (36 loc) · 1.08 KB
/
appveyor.yml
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
version: "{build}"
os: Visual Studio 2015
clone_depth: 50
environment:
matrix:
# Visual Studio 2015 64bit
- visualcpp: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat
machine: amd64
install:
#- choco upgrade chocolatey
- choco install wget
- wget https://kjunichi.github.io/vendor/win_flex_bison-2.4.12.zip
- mkdir win_flex_bison
- cd win_flex_bison
- unzip ..\win_flex_bison-2.4.12.zip
- cd ..
- dir
- cd
- cinst imagemagick.app -PackageParameters "InstallDevelopmentHeaders=true LegacySupport=true"
- refreshenv
- dir "C:\Program Files\ImageMagick-7.0.7-Q16"
- convert -size "640x480" -background "#C0C0C0" -fill "#FFFF00" caption:"ABC" output.png
- convert -scale 50% output.png dest.png
- call "%visualcpp%" %machine%
- set YACC=win_bison
- set PATH=C:\projects\mruby-mrmagick\win_flex_bison;%PATH%;
- where win_bison
init:
- call "%visualcpp%" %machine%
- set YACC=win_bison
build_script:
- cd ..
- git clone https://github.com/mruby/mruby.git
- cd mruby
- set MRUBY_CONFIG=..\mruby-mrmagick\appveyor_config.rb
- rake all