Skip to content
Closed
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
5 changes: 4 additions & 1 deletion .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,7 @@ build --action_env=CC
build --action_env=CXX
build --action_env=LD_LIBRARY_PATH
build --action_env=LLVM_CONFIG
build --action_env=PATH
build --action_env=PATH

build --cxxopt='-std=c++17'
build:host --cxxopt='-std=c++17'
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ jobs:
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2

- name: Setup Bazel
run: |
sudo apt-get -qq install npm
sudo npm install -g @bazel/bazelisk
- name: Use Bazel
- name: Bazel Help
if: matrix.os != 'windows'
run: bazel -h
- name: Compile All Targets
run: bazel build //...
- name: Build with Bazel
run: bazel build //... -s
9 changes: 5 additions & 4 deletions deps.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,9 @@ def github_archive(name, org, repo, ref, sha256):
name = name,
strip_prefix = repo + "-" + stripRef,
urls = [
"https://mirror.bazel.build/github.com/%s/%s/archive/%s.tar.gz" % (org, repo, ref),
"https://github.com/%s/%s/archive/%s.tar.gz" % (org, repo, ref),
# "https://mirror.bazel.build/github.com/%s/%s/archive/%s.tar.gz" % (org, repo, ref),
# "https://github.com/%s/%s/archive/%s.tar.gz" % (org, repo, ref),
"https://github.com/%s/%s/archive/refs/tags/%s.tar.gz" % (org, repo, ref)
],
sha256 = sha256,
)
Expand All @@ -48,6 +49,6 @@ def io_grpc_grpc_java(**kwargs):
"""grpc java plugin and jars
"""
name = "io_grpc_grpc_java"
ref = get_ref(name, "8eff2630828a7ec6f4980b5b46f30f875070a4e4", kwargs) # v1.19.0 and changes up to PR #5456
sha256 = get_sha256(name, "f0e17fb16a404ba473429144481221e2c970c65596f65129002af3c73dcfe141", kwargs)
ref = get_ref(name, "v1.45.0", kwargs) # v1.19.0 and changes up to PR #5456
sha256 = get_sha256(name, "83a3e094be70978cd843778a3214268714e077343fd9a5baacad31dd420304c3", kwargs)
github_archive(name, "grpc", "grpc-java", ref, sha256)
Loading