Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: bin suffix for shared library targets #217

Merged
merged 1 commit into from
Jan 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/module.build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,14 @@ jobs:
labs: false
skip: false

# Test: Shared Library
- label: Shared Library
target: sample
action: build
directory: "./example/integration_tests/shared-lib"
labs: false
skip: false

# Test: Maven Artifacts
- label: Maven Artifacts
target: sample
Expand Down
1 change: 1 addition & 0 deletions example/integration_tests/shared-lib/.bazelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
build --enable_bzlmod
1 change: 1 addition & 0 deletions example/integration_tests/shared-lib/.bazelversion
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
7.0.0-pre.20230816.3
35 changes: 35 additions & 0 deletions example/integration_tests/shared-lib/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
"Sample bzlmod-style project which uses the GraalVM Rules for Bazel."

module(
name = "rules_graalvm_bzlmod_sample",
version = "0.0.1",
)

bazel_dep(
name = "rules_java",
version = "6.4.0",
)
bazel_dep(
name = "rules_graalvm",
version = "0.0.0",
)
local_path_override(
module_name = "rules_graalvm",
path = "../../..",
)

gvm = use_extension("@rules_graalvm//:extensions.bzl", "graalvm")
gvm.graalvm(
name = "graalvm",
distribution = "ce",
java_version = "20",
version = "20.0.2",
)
use_repo(
gvm,
"graalvm",
)

register_toolchains("@graalvm//:jvm")

register_toolchains("@graalvm//:sdk")
Loading
Loading