Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Release: https://github.com/fmeum/rules_jni/releases/tag/v0.10.3

_Automated by [Publish to BCR](https://github.com/apps/publish-to-bcr)_

---------

Co-authored-by: publish-to-bcr-bot <112732530+publish-to-bcr-bot[bot]@users.noreply.github.com>
Co-authored-by: Fabian Meumertzheim <[email protected]>
  • Loading branch information
publish-to-bcr-bot[bot] and fmeum authored Nov 27, 2024
1 parent 50df8d8 commit f796e9b
Show file tree
Hide file tree
Showing 5 changed files with 82 additions and 1 deletion.
25 changes: 25 additions & 0 deletions modules/rules_jni/0.10.3/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
module(
name = "rules_jni",
version = "0.10.3",
compatibility_level = 1,
)

bazel_dep(name = "bazel_skylib", version = "1.6.1")
bazel_dep(name = "platforms", version = "0.0.5")
bazel_dep(name = "rules_cc", version = "0.0.17")
bazel_dep(name = "rules_license", version = "0.0.7")

download_jdk_deps = use_extension(
"@rules_jni//jni/private/extensions:download_jdk_deps.bzl",
"download_jdk_deps",
)
use_repo(
download_jdk_deps,
"com_github_openjdk_jdk_jni_h",
"com_github_openjdk_jdk_license",
"com_github_openjdk_jdk_unix_jni_md_h",
"com_github_openjdk_jdk_windows_jni_md_h",
)

bazel_dep(name = "rules_jvm_external", version = "6.1", dev_dependency = True)
bazel_dep(name = "stardoc", version = "0.7.1", dev_dependency = True)
12 changes: 12 additions & 0 deletions modules/rules_jni/0.10.3/patches/module_dot_bazel_version.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
===================================================================
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -1,7 +1,7 @@
module(
name = "rules_jni",
- version = "0.0.0",
+ version = "0.10.3",
compatibility_level = 1,
)

bazel_dep(name = "bazel_skylib", version = "1.6.1")
34 changes: 34 additions & 0 deletions modules/rules_jni/0.10.3/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
matrix:
bazel: [6.x, 7.x, 8.0.0rc4]
platform: ["centos7", "debian10", "macos", "ubuntu2004", "windows"]

tasks:
build_targets:
name: "Build targets under //jni"
bazel: ${{ bazel }}
platform: ${{ platform }}
build_targets:
- "@rules_jni//jni/..."

bcr_test_module:
module_path: "tests"
matrix:
bazel: [6.x, 7.x, 8.0.0rc4]
platform: ["debian10", "macos", "ubuntu2004", "windows"]
tasks:
run_tests:
name: "Run test module"
bazel: ${{ bazel }}
platform: ${{ platform }}
test_targets:
- "//..."
# The CentOS image does not set JAVA_HOME. To make the tests work, we set it
# manually.
run_tests_centos7:
name: "Run test module"
bazel: ${{ bazel }}
platform: centos7
environment:
JAVA_HOME: /usr/lib/jvm/zulu21
test_targets:
- "//..."
9 changes: 9 additions & 0 deletions modules/rules_jni/0.10.3/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"integrity": "sha256-Qd23qm/RNOLGb/7p3eB+Tb9S/uL5PvkYTEAZ8dO05qE=",
"strip_prefix": "rules_jni-0.10.3",
"url": "https://github.com/fmeum/rules_jni/releases/download/v0.10.3/rules_jni-v0.10.3.tar.gz",
"patches": {
"module_dot_bazel_version.patch": "sha256-r+SQtzfzlHwMR1VxotophiX9OFLRloeYACj1r335RLA="
},
"patch_strip": 1
}
3 changes: 2 additions & 1 deletion modules/rules_jni/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"0.7.0",
"0.8.0",
"0.9.1",
"0.10.1"
"0.10.1",
"0.10.3"
],
"yanked_versions": {}
}

0 comments on commit f796e9b

Please sign in to comment.