update jenkinsfile to support java
Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit

This commit is contained in:
austin 2024-12-02 16:55:27 -05:00
parent 1dd1f31082
commit e08ae42cde
2 changed files with 4 additions and 0 deletions

View File

@ -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
View File

@ -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 {