File tree 3 files changed +21
-13
lines changed 3 files changed +21
-13
lines changed Original file line number Diff line number Diff line change @@ -5,18 +5,27 @@ platform: x86
5
5
clone_depth : 2
6
6
clone_folder : C:\lua-openssl
7
7
install :
8
- - cd c:\lua-openssl
9
- - git submodule update --init --recursive
10
- - git submodule update --recursive
11
8
- call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars32.bat"
12
- - ls C:\openssl-v111-win32\lib
13
9
- cd C:\
14
- - git clone http://luajit.org/git/luajit-2.0.git C:\luajit-2.0
15
- build_script :
16
- - cd c:\luajit-2.0\src
10
+ - git clone https://github.com/LuaJIT/LuaJIT.git C:\luajit
11
+ - cd c:\luajit\src
17
12
- msvcbuild.bat
18
13
- copy luajit.exe C:\
19
14
- copy lua51.* C:\
15
+ - curl https://www.openssl.org/source/old/1.0.2/openssl-1.0.2u.tar.gz > openssl-1.0.2u.tar.gz
16
+ - 7z x "openssl-1.0.2u.tar.gz" -so | 7z x -aoa -si -ttar -o"penssl-1.0.2u"
17
+ - cd openssl-1.0.2u
18
+ - ls .
19
+ - perl Configure --prefix=C:\openssl-win32 no-asm no-shared VC-WIN32
20
+ - do\ms.bat
21
+ - nmake -f do\nt.mak
22
+ - nmake -f do\nt.mak install
23
+ - ls C:\openssl-win32\lib
24
+ - ls C:\openssl-win32\bin
25
+ - cd c:\lua-openssl
26
+ - git submodule update --init --recursive
27
+ - git submodule update --recursive
28
+ build_script :
20
29
- cd c:\lua-openssl
21
30
- nmake -f makefile.win
22
31
- copy src\openssl.dll c:\
Original file line number Diff line number Diff line change 1
1
# Installation directories
2
2
# System's libraries directory (where binary libraries are installed)
3
- LUA_LIBDIR= "d:\work\luabuild\bin\Win32Debug\clibs\"
4
3
5
4
# Lua includes and lib
6
- LUA_INC= "c:\luajit-2.0 \src"
7
- LUA_LIB= "c:\luajit-2.0 \src\lua51.lib"
5
+ LUA_INC= "c:\luajit\src"
6
+ LUA_LIB= "c:\luajit\src\lua51.lib"
8
7
9
8
# Openssl include and lib
10
- OPENSSL_INC="c:\openssl-v111- win32\include"
11
- OPENSSL_LIB="c:\openssl-v111- win32\lib\libcrypto_static .lib c:\openssl-v111- win32\lib\libssl_static .lib"
9
+ OPENSSL_INC="c:\openssl-win32\include"
10
+ OPENSSL_LIB="c:\openssl-win32\lib\libeay32 .lib c:\openssl-win32\lib\ssleay32 .lib"
12
11
13
12
LIBNAME= $T.dll
14
13
Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ function TestTime:testUTCTime()
185
185
at :adj (self .time , 1 , 1 )
186
186
day , sec = ab :diff (at )
187
187
assert (day == 1 , day )
188
- assert (sec == 0 , day )
188
+ assert (sec == 0 , sec )
189
189
assert (type (ab :toprint ()== ' string' ))
190
190
end
191
191
end
You can’t perform that action at this time.
0 commit comments