[CI] action_ros_ci bump & switch to apt-get (#18) #19
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
name: Ubuntu 22.04 Rolling Build | |
on: | |
pull_request: | |
push: | |
branches: | |
- iron | |
jobs: | |
Build: | |
runs-on: self-hosted | |
container: | |
image: osrf/ros:rolling-desktop-full-jammy | |
steps: | |
- name: Update | |
run: apt-get update | |
- name: Install PIP | |
run: apt-get install -y python3-pip lcov | |
- name: Install colcon tools | |
run: python3 -m pip install colcon-lcov-result colcon-coveragepy-result | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Run Tests | |
uses: ros-tooling/action-ros-ci@0.3.6 | |
with: | |
target-ros2-distro: rolling | |
import-token: ${{ secrets.GITHUB_TOKEN }} | |
vcs-repo-file-url: "${{ github.workspace }}/iron.repos" | |
- name: Upload Logs | |
uses: actions/upload-artifact@v1 | |
with: | |
name: colcon-logs | |
path: ros_ws/log | |
if: failure() |