Skip to content

Commit b90afe2

Browse files
committed
fix ref
Change-Id: Ied30f27945a337ec73d431bff5c29ce9f1d8edd2
1 parent 3ae965e commit b90afe2

2 files changed

Lines changed: 16 additions & 3 deletions

File tree

.github/workflows/main.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,17 @@ jobs:
2727
- name: Install System Dependencies
2828
run: |
2929
sudo apt-get update
30-
sudo apt-get install -y build-essential npm
30+
sudo apt-get install -y gcc-10 g++-10
31+
sudo g++ --version
3132
- name: Setup Bazel
3233
run: |
3334
sudo apt-get -qq install npm
3435
sudo npm install -g @bazel/bazelisk
3536
- name: Bazel Help
3637
if: matrix.os != 'windows'
3738
run: bazel -h
38-
- name: Compile All Targets
39-
run: bazel build //... -s
39+
- name: Build with Bazel
40+
run: |
41+
export CC=/usr/bin/gcc-10
42+
export CXX=/usr/bin/g++-10
43+
bazel build //... -s

WORKSPACE

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,15 @@ load(
2424

2525
io_grpc_grpc_java()
2626

27+
http_archive(
28+
name = "com_google_absl",
29+
sha256 = "59b862f50e710277f8ede96f083a5bb8d7c9595376146838b9580be90374ee1f",
30+
strip_prefix = "abseil-cpp-20210324.2",
31+
urls = [
32+
"https://github.com/abseil/abseil-cpp/archive/refs/tags/20210324.2.tar.gz",
33+
],
34+
)
35+
2736
http_archive(
2837
name = "rules_proto",
2938
sha256 = "66bfdf8782796239d3875d37e7de19b1d94301e8972b3cbd2446b332429b4df1",

0 commit comments

Comments
 (0)