File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed
Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -60,14 +60,18 @@ jobs:
6060 - name : log1
6161 run : |
6262 ls -l ./libxtracfg/c/build
63- # TODO: windows
6463 - name : c
64+ if : ${{ matrix.os.type != 'windows' }}
65+ working-directory : ./libxtracfg/c
66+ run : |
67+ ./build.sh
68+ ./test.sh
69+ - name : c
70+ if : ${{ matrix.os.type == 'windows' }}
6571 working-directory : ./libxtracfg/c
66- env :
67- EXT : ${{ matrix.os.type == 'windows' && 'bat' || 'sh' }}
6872 run : |
69- ./build.${EXT}
70- ./test.${EXT}
73+ ./build.bat
74+ ./test.bat
7175 - name : log2
7276 run : |
7377 ls -l ./libxtracfg/c/build
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ echo lib
1313
1414REM static
1515cl.exe /c /W4 /I./ /I%JAVA_HOME% /include /I%JAVA_HOME% /include/%PLATFORM% /Folibxtracfg.obj ../wrapper/libxtracfg.c
16- copy libxtracfgjni .lib libxtracfg.lib
16+ copy libxtracfgjni_static .lib libxtracfg.lib
1717lib.exe /OUT:libxtracfg.lib libxtracfg.lib libxtracfg.obj
1818
1919certutil -hashfile libxtracfg.lib SHA1 > libxtracfg.sha1sum.tmp
You can’t perform that action at this time.
0 commit comments