-
Notifications
You must be signed in to change notification settings - Fork 353
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Publish fmeum/[email protected] (#907)
Co-authored-by: Fabian Meumertzheim <null>
- Loading branch information
1 parent
6614023
commit ceebb9a
Showing
5 changed files
with
74 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
module( | ||
name = "rules_jni", | ||
version = "0.9.1", | ||
compatibility_level = 1, | ||
) | ||
|
||
bazel_dep(name = "bazel_skylib", version = "1.3.0") | ||
bazel_dep(name = "platforms", version = "0.0.5") | ||
bazel_dep(name = "rules_license", version = "0.0.7") | ||
|
||
download_jdk_deps = use_extension( | ||
"@rules_jni//bzlmod:extensions.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", | ||
) |
13 changes: 13 additions & 0 deletions
13
modules/rules_jni/0.9.1/patches/module_dot_bazel_version.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Index: MODULE.bazel | ||
=================================================================== | ||
--- MODULE.bazel | ||
+++ MODULE.bazel | ||
@@ -1,7 +1,7 @@ | ||
module( | ||
name = "rules_jni", | ||
- version = "0.7.0", | ||
+ version = "0.9.1", | ||
compatibility_level = 1, | ||
) | ||
|
||
bazel_dep(name = "bazel_skylib", version = "1.3.0") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
matrix: | ||
platform: ["centos7", "debian10", "macos", "ubuntu2004", "windows"] | ||
|
||
tasks: | ||
build_targets: | ||
name: "Build targets under //jni" | ||
platform: ${{ platform }} | ||
build_targets: | ||
- "@rules_jni//jni/..." | ||
|
||
bcr_test_module: | ||
module_path: "tests" | ||
matrix: | ||
platform: ["debian10", "macos", "ubuntu2004", "windows"] | ||
tasks: | ||
run_tests: | ||
name: "Run test module" | ||
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" | ||
platform: centos7 | ||
environment: | ||
JAVA_HOME: /usr/lib/jvm/java-1.8.0 | ||
test_targets: | ||
- "//..." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"integrity": "sha256-nuWkbCxx8YVyswfEEwA4Rw027FI8Yvb6QDMpmIEt2Nc=", | ||
"strip_prefix": "", | ||
"url": "https://github.com/fmeum/rules_jni/releases/download/v0.9.1/rules_jni-v0.9.1.tar.gz", | ||
"patches": { | ||
"module_dot_bazel_version.patch": "sha256-3ly05FYpgaR8OicB0HvqUJyn8TA1Rz+QBBrjA/Bvk40=" | ||
}, | ||
"patch_strip": 0 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,8 @@ | |
"0.6.0", | ||
"0.6.1", | ||
"0.7.0", | ||
"0.8.0" | ||
"0.8.0", | ||
"0.9.1" | ||
], | ||
"yanked_versions": {} | ||
} |