-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
44 lines (35 loc) · 1.51 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
41
42
43
image: Windows Server 2012 R2
#install:
# - C:\MinGW\bin\mingw-get install gcc
build_script:
- mkdir x86
- call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86
- cl.exe src\main\java\uk\me\mjt\CrashJvm.c /I %JAVA_HOME%\include /I %JAVA_HOME%\include\win32 -Fex86\CrashJvm.dll -MD -LD
- cl.exe > windows-native-info.txt 2>&1
- mkdir amd64
- call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64
- cl.exe src\main\java\uk\me\mjt\CrashJvm.c /I %JAVA_HOME%\include /I %JAVA_HOME%\include\win32 -Feamd64\CrashJvm.dll -MD -LD
- cl.exe >> windows-native-info.txt 2>&1
- mvn install --batch-mode
test_script:
- bash test.sh
- CertUtil -hashfile x86\CrashJvm.dll SHA512
- CertUtil -hashfile amd64\CrashJvm.dll SHA512
- echo "Appveyor build version %APPVEYOR_BUILD_VERSION% ID %APPVEYOR_BUILD_ID%" >> windows-native-info.txt
- CertUtil -hashfile x86\CrashJvm.dll SHA512 >> windows-native-info.txt
- CertUtil -hashfile amd64\CrashJvm.dll SHA512 >> windows-native-info.txt
artifacts:
- path: amd64\CrashJvm.dll
- path: x86\CrashJvm.dll
- path: windows-native-info.txt
deploy:
# Amazon S3 deployment provider settings
- provider: S3
access_key_id: AKIAI7AXAB7QKGPVNYVA
secret_access_key:
secure: snxWY4w58Q5StGc6YVIw4MQe3BeqV0eAJ5nANkccZzC70PumRa+fGkBEsg960bFo
bucket: artifacts.mjt.me.uk
region: eu-west-1
folder: crashjvm
artifact: amd64\CrashJvm.dll, x86\CrashJvm.dll, windows-native-info.txt
set_public: false