Attempt at automatic dll building
This commit is contained in:
parent
e1ef9d13fc
commit
14160e7e9c
@ -7,8 +7,11 @@ before_script:
|
||||
- export GRADLE_USER_HOME=`pwd`/.gradle
|
||||
|
||||
deploy:
|
||||
tags:
|
||||
- windows
|
||||
stage: deploy
|
||||
script: gradle --build-cache assemble
|
||||
script: |
|
||||
gradle --build-cache assemble
|
||||
artifacts:
|
||||
paths:
|
||||
- build/libs
|
||||
|
@ -1,10 +1,12 @@
|
||||
@echo off
|
||||
echo --------------------------------------------------------
|
||||
echo THIS SHOULD MOST LIKELY BE MODIFIED FOR YOUR ENVIRONMENT
|
||||
echo --------------------------------------------------------
|
||||
cl .\io_gitlab_jfronny_breakme_breakme_NativeCrash.cpp /I"C:\Program Files\Java\jdk-14.0.1\include" /I"C:\Program Files\Java\jdk-14.0.1\include\win32" -Fenatives.dll -MD -LD
|
||||
echo Setting up native env
|
||||
cd "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build"
|
||||
vcvarsall x86_x64
|
||||
cd %~dp0
|
||||
echo Building natives
|
||||
cl .\io_gitlab_jfronny_breakme_breakme_NativeCrash.cpp /I"C:\Program Files\Java\jdk-12.0.2\include" /I"C:\Program Files\Java\jdk-12.0.2\include\win32" -Fenatives.dll -MD -LD
|
||||
del .\natives.exp
|
||||
del .\natives.lib
|
||||
del .\io_gitlab_jfronny_breakme_breakme_NativeCrash.obj
|
||||
del ..\resources\native\natives.dll
|
||||
copy /y natives.dll ..\resources\native\natives.dll
|
||||
copy /y natives.dll ..\resources\native\natives.dll
|
||||
|
Loading…
Reference in New Issue
Block a user