From 865c1e78bc6ee4b43083be72a95b5950080089d0 Mon Sep 17 00:00:00 2001 From: Tomas Baca Date: Sat, 12 Aug 2023 18:37:49 +0200 Subject: [PATCH] added ros installation to arm cache --- .ci/build.sh | 4 ++++ .github/workflows/unstable_arm64.yml | 12 ++++++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/.ci/build.sh b/.ci/build.sh index 6755663c24..18056c5928 100755 --- a/.ci/build.sh +++ b/.ci/build.sh @@ -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 diff --git a/.github/workflows/unstable_arm64.yml b/.github/workflows/unstable_arm64.yml index d59f965cfe..74a88d608e 100644 --- a/.github/workflows/unstable_arm64.yml +++ b/.github/workflows/unstable_arm64.yml @@ -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: |