-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #39 from nasa/develop
Release 0.2.4
- Loading branch information
Showing
78 changed files
with
9,263 additions
and
6,817 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
# Check for lint error and auto correct them | ||
|
||
name: Compile APK | ||
|
||
on: ['push', 'pull_request'] | ||
|
||
jobs: | ||
install_dependencies: | ||
runs-on: ubuntu-18.04 | ||
|
||
steps: | ||
- name: Checkout Astrobee | ||
uses: actions/checkout@v2 | ||
with: | ||
repository: nasa/astrobee | ||
path: astrobee/ | ||
|
||
- name: Checkout ISAAC | ||
uses: actions/checkout@v2 | ||
with: | ||
submodules: recursive | ||
path: isaac/ | ||
|
||
|
||
- name: Build image isaac/astrobee:msgs-ubuntu16.04 | ||
run: docker build astrobee -f isaac/scripts/docker/astrobee_msgs.Dockerfile | ||
--build-arg UBUNTU_VERSION=16.04 | ||
--build-arg ROS_VERSION=kinetic | ||
--build-arg PYTHON='' | ||
-t isaac/isaac:astrobee-msgs-ubuntu16.04 | ||
|
||
- name: Build image isaac/isaac:msgs-ubuntu16.04 | ||
run: docker build isaac -f isaac/scripts/docker/isaac_msgs.Dockerfile | ||
--build-arg UBUNTU_VERSION=16.04 | ||
--build-arg ROS_VERSION=kinetic | ||
--build-arg PYTHON='' | ||
-t isaac/isaac:msgs-ubuntu16.04 | ||
|
||
- name: Build image isaac/isaac:latest-msgs-jar-ubuntu16.04 | ||
run: docker build isaac -f isaac/scripts/docker/build_msgs_jar.Dockerfile | ||
--build-arg UBUNTU_VERSION=16.04 | ||
--build-arg ROS_VERSION=kinetic | ||
--build-arg PYTHON='' | ||
-t isaac/isaac:latest-msgs-jar-ubuntu16.04 | ||
|
||
- name: Copy jar files | ||
run: | | ||
docker cp $(docker create --rm isaac/isaac:latest-msgs-jar-ubuntu16.04):/src/msgs/devel/share/maven/ . | ||
rm isaac/apks/isaac_gs_ros_bridge/app/libs/*msgs* | ||
find maven -name *.jar -print0 | xargs -0 cp -t isaac/apks/isaac_gs_ros_bridge/app/libs | ||
- name: Install APK dependencies | ||
run: | | ||
sudo apt-get install -y libc6-dev-i386 lib32z1 openjdk-8-jdk | ||
mkdir $HOME/android-sdk | ||
cd $HOME/android-sdk | ||
wget https://dl.google.com/android/repository/tools_r25.2.3-linux.zip | ||
java -version | ||
unzip tools_r25.2.3-linux.zip | ||
tools/bin/sdkmanager --update | ||
yes | tools/bin/sdkmanager "platforms;android-25" "build-tools;25.0.2" "extras;google;m2repository" "extras;android;m2repository" | ||
wget https://dl.google.com/android/repository/android-ndk-r22b-linux-x86_64.zip | ||
unzip android-ndk-r22b-linux-x86_64.zip | ||
mv android-ndk-r22b ndk-bundle | ||
cd ~/android-sdk/ndk-bundle/toolchains | ||
ln -s aarch64-linux-android-4.9 mips64el-linux-android | ||
ln -s arm-linux-androideabi-4.9 mipsel-linux-android | ||
- name: Build APK | ||
run: | | ||
cd isaac/apks/isaac_gs_ros_bridge | ||
ANDROID_HOME=$HOME/android-sdk ANDROID_NDK_HOME=$HOME/android-sdk/ndk-bundle ./gradlew build |
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
Oops, something went wrong.