forked from zhaozg/lua-openssl
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappveyor.yml
More file actions
27 lines (27 loc) · 845 Bytes
/
appveyor.yml
File metadata and controls
27 lines (27 loc) · 845 Bytes
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
version: 0.4.{build}
configuration: Release
platform: x86
clone_depth: 2
clone_folder: C:\lua-openssl
install:
- cd c:\lua-openssl
- git submodule update --init --recursive
- git submodule update --recursive
- '"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" x86'
- cd C:\
- ps: Start-FileDownload 'https://github.com/zhaozg/openssl-win32/blob/1.0.2/misc/luv.dll?raw=true' -FileName 'C:\luv.dll'
#- git clone https://github.com/zhaozg/openssl-win32.git C:\openssl-win32
- git clone http://luajit.org/git/luajit-2.0.git C:\luajit-2.0
build_script:
- cd c:\luajit-2.0\src
- msvcbuild.bat
- copy luajit.exe C:\
- copy lua51.* C:\
- cd c:\lua-openssl
- nmake -f makefile.win
- copy src\openssl.dll c:\
test_script:
- cd test\
- set LUA_PATH=?.lua;
- set LUA_CPATH=C:\?.dll;
- c:\luajit.exe test.lua