update jenkinsfile to support java
Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit
Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit
This commit is contained in:
parent
1dd1f31082
commit
e08ae42cde
@ -8,6 +8,7 @@ file(GLOB_RECURSE SOURCES src/fluid/src/**.c)
|
||||
include_directories(src/fluid/includes)
|
||||
|
||||
# include jni
|
||||
set(JAVA_AWT_LIBRARY NotNeeded)
|
||||
find_package(JNI REQUIRED)
|
||||
include_directories(${JNI_INCLUDE_DIRS})
|
||||
|
||||
|
||||
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@ -3,6 +3,9 @@ pipeline {
|
||||
tools {
|
||||
maven '3.9.6'
|
||||
}
|
||||
environment {
|
||||
JAVA_HOME = '/usr/lib/jvm/java-17-openjdk-amd64/include'
|
||||
}
|
||||
stages {
|
||||
stage('Setup') {
|
||||
steps {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user