-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Jose Nino [email protected] Description: setup android CI on linux. Risk Level: low Testing: adding CI Part of #42 Signed-off-by: JP Simard <[email protected]>
- Loading branch information
Showing
6 changed files
with
103 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
# Set up basic requirements and install them. | ||
sudo apt-get update | ||
export DEBIAN_FRONTEND=noninteractive | ||
sudo apt-get install -y wget software-properties-common make cmake git \ | ||
unzip bc libtool ninja-build automake zip time \ | ||
apt-transport-https | ||
|
||
# clang 8. | ||
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - | ||
sudo apt-add-repository "deb https://apt.llvm.org/xenial/ llvm-toolchain-xenial-8 main" | ||
sudo apt-get update | ||
sudo apt-get install -y clang-8 lld-8 libc++-8-dev libc++abi-8-dev | ||
|
||
sudo update-alternatives --remove-all clang | ||
sudo update-alternatives --remove-all clang++ | ||
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-8 100 | ||
sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-8 100 | ||
|
||
# Bazel. | ||
wget -c https://github.com/bazelbuild/bazel/releases/download/0.26.1/bazel-0.26.1-installer-linux-x86_64.sh | ||
chmod +x bazel-0.26.1-installer-linux-x86_64.sh | ||
sudo ./bazel-0.26.1-installer-linux-x86_64.sh | ||
|
||
# ndk 20 | ||
# wget -c https://dl.google.com/android/repository/android-ndk-r20-linux-x86_64.zip | ||
# unzip android-ndk-r20-linux-x86_64.zip | ||
# sudo rm -rf /usr/local/lib/android/sdk/ndk-bundle | ||
# sudo mv android-ndk-r20 /usr/local/lib/android/sdk/ndk-bundle |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule envoy
updated
from db853f to 5dd7cc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters