mirror of
https://gitee.com/openharmony/third_party_rust_cxx
synced 2024-11-22 22:59:52 +00:00
Updated version of Bazel used in CI to 4.0.0 (Bazel's first LTS release)
This commit is contained in:
parent
5d3f36c8af
commit
57982c4d4c
@ -5,7 +5,7 @@ RUN apt-get update \
|
||||
&& apt-get -y install --no-install-recommends openjdk-11-jdk lld \
|
||||
&& rustup default nightly 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/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 \
|
||||
|
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -84,7 +84,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Install Bazel
|
||||
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
|
||||
./install.sh --user
|
||||
echo $HOME/bin >> $GITHUB_PATH
|
||||
|
Loading…
Reference in New Issue
Block a user