Updated version of Bazel used in CI to 4.0.0 (Bazel's first LTS release)

This commit is contained in:
Andre Brisco 2021-01-27 07:45:06 -08:00
parent 5d3f36c8af
commit 57982c4d4c
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ RUN apt-get update \
&& apt-get -y install --no-install-recommends openjdk-11-jdk lld \ && apt-get -y install --no-install-recommends openjdk-11-jdk lld \
&& rustup default nightly 2>&1 \ && rustup default nightly 2>&1 \
&& rustup component add rust-analyzer-preview rustfmt clippy 2>&1 \ && rustup component add rust-analyzer-preview rustfmt clippy 2>&1 \
&& wget -q -O bin/install-bazel https://github.com/bazelbuild/bazel/releases/download/2.1.1/bazel-2.1.1-installer-linux-x86_64.sh \ && wget -q -O bin/install-bazel https://github.com/bazelbuild/bazel/releases/download/4.0.0/bazel-4.0.0-installer-linux-x86_64.sh \
&& wget -q -O bin/buck https://jitpack.io/com/github/facebook/buck/a5f0342ae3/buck-a5f0342ae3-java11.pex \ && wget -q -O bin/buck https://jitpack.io/com/github/facebook/buck/a5f0342ae3/buck-a5f0342ae3-java11.pex \
&& wget -q -O bin/buildifier https://github.com/bazelbuild/buildtools/releases/latest/download/buildifier \ && wget -q -O bin/buildifier https://github.com/bazelbuild/buildtools/releases/latest/download/buildifier \
&& wget -q -O tmp/watchman.zip https://github.com/facebook/watchman/releases/download/v2020.09.21.00/watchman-v2020.09.21.00-linux.zip \ && wget -q -O tmp/watchman.zip https://github.com/facebook/watchman/releases/download/v2020.09.21.00/watchman-v2020.09.21.00-linux.zip \

View File

@ -84,7 +84,7 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Install Bazel - name: Install Bazel
run: | run: |
wget -q -O install.sh https://github.com/bazelbuild/bazel/releases/download/2.1.1/bazel-2.1.1-installer-linux-x86_64.sh wget -q -O install.sh https://github.com/bazelbuild/bazel/releases/download/4.0.0/bazel-4.0.0-installer-linux-x86_64.sh
chmod +x install.sh chmod +x install.sh
./install.sh --user ./install.sh --user
echo $HOME/bin >> $GITHUB_PATH echo $HOME/bin >> $GITHUB_PATH