Skip to content

Commit

Permalink
Fix many things
Browse files Browse the repository at this point in the history
  • Loading branch information
fmeum committed Oct 8, 2024
1 parent a804bbb commit 91f3b4d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/run-tests-internally.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
env:
BAZELISK_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
name: Build and test internally (ubuntu-latest, Bazel last_rc module, JDK 21)
name: Build and test internally (ubuntu-latest, Bazel latest module, JDK 21)

steps:
- uses: actions/checkout@v4
Expand All @@ -34,11 +34,7 @@ jobs:
key: bazel-disk-cache-internal

- name: Build main repository
env:
USE_BAZEL_VERSION: "last_rc"
run: bazelisk build --disk_cache="/home/runner/.cache/bazel-disk" //...

- name: Run tests in main repository
env:
USE_BAZEL_VERSION: "last_rc"
run: bazelisk test --disk_cache="/home/runner/.cache/bazel-disk" //...
1 change: 1 addition & 0 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ module(

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.12")
bazel_dep(name = "rules_license", version = "0.0.7")

download_jdk_deps = use_extension(
Expand Down
6 changes: 5 additions & 1 deletion jni/private/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@ copy_file(
bzl_library(
name = "all_rules",
srcs = glob(["*.bzl"]) + [
"@bazel_tools//tools:bzl_srcs",
"@bazel_tools//tools/cpp:toolchain_utils.bzl",
"@bazel_tools//tools/build_defs/repo:cache.bzl",
"@bazel_tools//tools/build_defs/repo:http.bzl",
"@bazel_tools//tools/build_defs/repo:utils.bzl",
"@rules_cc//cc:bzl_srcs",
],
visibility = ["//jni:__pkg__"],
)
Expand Down

0 comments on commit 91f3b4d

Please sign in to comment.