Skip to content

Fixed Pico SDK to 1.5.1 for default RP2040 setup script. #20

Fixed Pico SDK to 1.5.1 for default RP2040 setup script.

Fixed Pico SDK to 1.5.1 for default RP2040 setup script. #20

Workflow file for this run

# MicroROS Build Action - Action test workflow.
# Copyright 2024 Samyar Sadat Akhavi
# Written by Samyar Sadat Akhavi, 2024.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https: www.gnu.org/licenses/>.
name: Test MicroROS Build Action
on: push
jobs:
test_build:
name: Build example micro-ROS library
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Build MicroROS Library
id: build
uses: ./
with:
microros_dir: test_library/libmicroros
microros_source_dir: src
microros_setup_path: micro_ros_setup
clone_microros_setup: "true"
colcon_meta_file: my_colcon.meta
toolchain_cmake_file: my_toolchain.cmake
extra_build_packages: "rrp_pico_coms"
- name: Upload Build Artifacts
uses: actions/upload-artifact@v4
with:
name: workspace_artifacts
path: ${{steps.build.outputs.library_build_dir}}
if-no-files-found: error