Skip to content

Commit

Permalink
ci: show native dir
Browse files Browse the repository at this point in the history
  • Loading branch information
yankun1992 committed Jul 21, 2023
1 parent 0bc1514 commit f79eefc
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish_snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,15 @@ jobs:
uses: actions/download-artifact@v3
with:
name: result
path: out/fastbloomjvm/compileNative.dest/native/
path: library/native/
- run: chmod +x millw
- run: ./millw fastbloomjvm.compileNative
- run: ls -R out/fastbloomjvm/compileNative.dest/native/
- run: ls -R library/native/
- run: ./millw fastbloomjvm.jar
- run: ls -R out/fastbloomjvm/compileNative.dest/native/
- run: ls -R library/native/
- run: echo $PGP_SECRET | base64 --decode > gpg_key && gpg --import --no-tty --batch --yes gpg_key
- run: ./millw -i __.publishArtifacts
- run: ls -R out/fastbloomjvm/compileNative.dest/native/
- run: ls -R library/native/
- run: gpg --passphrase=$PGP_PASSPHRASE --no-tty --pinentry-mode loopback --batch --yes -a -b build.sc
- run: ./millw -d mill.scalalib.PublishModule/publishAll --publishArtifacts __.publishArtifacts --sonatypeCreds yankun1992:$SONATYPE_PASSWORD --gpgArgs --passphrase=$PGP_PASSPHRASE,--no-tty,--pinentry-mode,loopback,--batch,--yes,-a,-b --sonatypeUri https://s01.oss.sonatype.org/service/local --sonatypeSnapshotUri https://s01.oss.sonatype.org/content/repositories/snapshots --readTimeout 600000 --awaitTimeout 600000 --signed true
- run: rm gpg_key
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,6 @@ fastbloomjvm/native/.idea
.pytest_cache
.vscode
py_tests/.pytest_cache
data
data

library
8 changes: 6 additions & 2 deletions build.sc
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import mill._, scalalib._, publish._
import mill.define.Sources
import mill.scalalib.JavaModule
import $ivy.`io.github.otavia-projects::mill-rust_mill$MILL_BIN_PLATFORM:0.2.3`
import os.Path
import $ivy.`io.github.otavia-projects::mill-rust_mill$MILL_BIN_PLATFORM:0.2.4`
import io.github.otavia.jni.plugin.RustJniModule

object ProjectInfo {
Expand Down Expand Up @@ -45,7 +46,10 @@ object fastbloomjvm extends RustJniModule with PublishModule {

override def artifactId = "fastbloom"

override def ivyDeps = Agg(ivy"io.github.otavia-projects:jni-loader:0.2.3")
override def ivyDeps = Agg(ivy"io.github.otavia-projects:jni-loader:0.2.4")


override def otherNativeLibraries: Seq[PathRef] = Seq(PathRef(os.pwd / "library"))

object test extends Tests with TestModule.Junit4 {

Expand Down

0 comments on commit f79eefc

Please sign in to comment.