-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathappveyor.yml
31 lines (27 loc) · 918 Bytes
/
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
environment:
JAVA_HOME: C:\Program Files\Java\jdk1.8.0
CXX: C:\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64\bin\g++.exe
CC: C:\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64\bin\gcc.exe
CMAKE_CXX_COMPILER: C:\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64\bin\g++.exe
CMAKE_CC_COMPILER: C:\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64\bin\gcc.exe
#
install:
# CMake refuses to generate MinGW Makefiles if sh.exe is in the Path
- ps: Get-Command sh.exe -All | Remove-Item
#
build_script:
- echo %CMAKE_CC_COMPILER%
- echo %CMAKE_CXX_COMPILER%
- cmake -DCMAKE_BUILD_TYPE= -G "CodeBlocks - MinGW Makefiles" jni
- cmake --build . --target all -- -j 8
- gradlew check --info
#
before_build:
- set Path=C:\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64\bin;%Path%
#
artifacts:
- path: libjni.dll
name: libjni
- path: 'build\libs\*.jar'
name: algo4j
#