Skip to content

Commit cac7f7a

Browse files
committed
Introduce AppVeyor for testing the build on Windows
1 parent b22f01b commit cac7f7a

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

.buckjavaargs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError
1+
-Xmx1g -XX:+HeapDumpOnOutOfMemoryError

appveyor.yml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
shallow_clone: true
2+
build: off
3+
install:
4+
- 'set JAVA_HOME=C:\Program Files (x86)\Java\jdk1.8.0'
5+
- 'set PATH=%JAVA_HOME%;%PATH%'
6+
- 'set RUBY_HOME=C:\Ruby22-x64\bin'
7+
- 'set PATH=%RUBY_HOME%;%PATH%'
8+
test_script:
9+
- cmd: './go build'

rake-tasks/buck.rb

+2-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ def output
8383
proc.wait
8484

8585
if proc.exit_code != 0
86-
raise "Buck build failed"
86+
raise "Buck build failed with exit code: #{proc.exit_code}
87+
stdout: #{proc.io.stdout.output}"
8788
end
8889

8990
block.call(proc.io.stdout.output) if block

0 commit comments

Comments
 (0)