Skip to content

Commit

Permalink
added ros installation to arm cache
Browse files Browse the repository at this point in the history
  • Loading branch information
klaxalk committed Aug 12, 2023
1 parent 8571630 commit 865c1e7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .ci/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,12 @@ ARCH=$(dpkg-architecture -qDEB_HOST_ARCH)

REPOS=$(./.ci/get_repo_source.py $YAML_FILE $VARIANT $ARCH $PACKAGE_NAME)

echo "$0: Installing deb packages from the provided artifacts folder"

sudo apt install $ARTIFACTS_FOLDER/*.deb || echo "no artifacts to install"

echo "$0: artifacts installed"

mkdir -p $WORKSPACE

cd $WORKSPACE
Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/unstable_arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,17 @@ jobs:
githubToken: ${{ github.token }}

install: |
apt-get update -y
apt-get install -y sudo git curl
apt-get -y update
apt-get -y install sudo git curl wget lsb-release gnupg
echo 'debconf debconf/frontend select Noninteractive' | sudo debconf-set-selections
sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add -
apt-get -y update
apt-get -y install python3-pip
pip3 install -U rosdep
rosdep init
curl -s https://ctu-mrs.github.io/ppa-unstable/add_ppa.sh | bash
apt-get -y ros-noetic-desktop-full
# Create an artifacts directory
setup: |
Expand Down

0 comments on commit 865c1e7

Please sign in to comment.