Skip to content
This repository was archived by the owner on Jan 21, 2026. It is now read-only.

Commit 8d9dfa6

Browse files
committed
chore: update jni action
1 parent 7569fa3 commit 8d9dfa6

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/topling-jni.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
default: 'topling/toplingdb'
1010
repository_branch:
1111
required: false
12-
default: 'sideplugin-7.10.0-2022-12-21-bec42648'
12+
default: 'memtable_as_log_index'
1313
test:
1414
required: false
1515
type: boolean
@@ -76,22 +76,22 @@ jobs:
7676
- name: Compile RocksDBJava
7777
run: |
7878
echo $JAVA_HOME
79-
make rocksdbjava -j`nproc` DEBUG_LEVEL=0
79+
make rocksdbjava -j`nproc` DEBUG_LEVEL=0 STRIP_DEBUG_INFO=1 ROCKSDB_JAR_WITH_DYNAMIC_LIBS=1
8080
8181
- name: Move to Local Maven Repo
8282
run: |
8383
cd java/target || exit
84-
cp -v rocksdbjni-7.10.0-linux64.jar rocksdbjni-7.10.0-SNAPSHOT-linux64.jar
85-
mvn install:install-file -ntp -Dfile=rocksdbjni-7.10.0-SNAPSHOT-linux64.jar \
86-
-DgroupId=org.rocksdb -DartifactId=rocksdbjni -Dversion=7.10.0-SNAPSHOT -Dpackaging=jar
84+
cp -v rocksdbjni-8.10.2-linux64.jar rocksdbjni-8.10.2-SNAPSHOT-linux64.jar
85+
mvn install:install-file -ntp -Dfile=rocksdbjni-8.10.2-SNAPSHOT-linux64.jar \
86+
-DgroupId=org.rocksdb -DartifactId=rocksdbjni -Dversion=8.10.2-SNAPSHOT -Dpackaging=jar
8787
# TODO: why 'deploy' doesn't include install step here? if we only use deploy, will lack local jar
8888
if ${{ inputs.deploy_maven }}; then
8989
# TODO: what's the pom file for it? add with '-DpomFile=/xx/pom.xml'
9090
mvn deploy:deploy-file -e -s $GITHUB_WORKSPACE/settings.xml \
9191
-DpomFile=$GITHUB_WORKSPACE/java/pom.xml.template \
9292
-Durl=https://maven.pkg.github.com/$REP_URL -DrepositoryId=github \
93-
-Dfile=rocksdbjni-7.10.0-SNAPSHOT-linux64.jar -DgroupId=org.rocksdb \
94-
-DartifactId=rocksdbjni -Dversion=7.10.0-SNAPSHOT -Dpackaging=jar
93+
-Dfile=rocksdbjni-8.10.2-SNAPSHOT-linux64.jar -DgroupId=org.rocksdb \
94+
-DartifactId=rocksdbjni -Dversion=8.10.2-SNAPSHOT -Dpackaging=jar
9595
fi
9696
9797
# for compile jmh.jar to test the performance

0 commit comments

Comments
 (0)