Skip to content

Commit

Permalink
Try out bazel 3.7 (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmeagher authored Nov 4, 2020
1 parent 06f6dda commit 6c70cb4
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,14 @@ jobs:
<<: *build-template
environment:
BAZEL_VER: "3.4.1"
build-bazel-3-7:
<<: *build-template
environment:
BAZEL_VER: "3.7.0"

workflows:
version: 2
default_workflow:
jobs:
- build-bazel-3-4
- build-bazel-3-7
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
&& apt-get autoremove -y && apt-get clean -y && rm -rf /var/lib/apt/lists/* /tmp/library-scripts

# Install Bazel
ARG BAZEL_VERSION=3.4.1
ARG BAZEL_VERSION=3.7.0
ARG BAZEL_DOWNLOAD_SHA=dev-mode
RUN curl -fSsL -o /tmp/bazel-installer.sh https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh \
&& ([ "${BAZEL_DOWNLOAD_SHA}" = "dev-mode" ] || echo "${BAZEL_DOWNLOAD_SHA} */tmp/bazel-installer.sh" | sha256sum --check - ) \
Expand Down
4 changes: 2 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"build": {
"dockerfile": "Dockerfile",
"args": {
"BAZEL_VERSION": "3.4.1",
"BAZEL_DOWNLOAD_SHA": "9808adad931ac652e8ff5022a74507c532250c2091d21d6aebc7064573669cc5"
"BAZEL_VERSION": "3.7.0",
"BAZEL_DOWNLOAD_SHA": "621089dc4d396612603a55f18f55acded29d9b21534ebaa99406a0b4b05029fb"
}
},

Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ _linux: &linux

env:
# Bazel version to use for testing
- V=3.4.1
- V=3.7.0

before_install:
- |
Expand Down

0 comments on commit 6c70cb4

Please sign in to comment.