Add git action to build package #29
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: Build ROS package | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
build-package: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ros-tooling/[email protected] | |
with: | |
required-ros-distributions: noetic | |
- run: | | |
sudo add-apt-repository ppa:inivation-ppa/inivation | |
sudo apt update | |
sudo apt install libcaer-dev | |
git clone https://github.com/raultapia/openev | |
mkdir -p openev/build | |
cd openev/build | |
cmake .. | |
make | |
sudo make install | |
- uses: ros-tooling/[email protected] | |
with: | |
package-name: asap | |
target-ros1-distro: noetic | |
vcs-repo-file-url: https://raw.githubusercontent.com/raultapia/asap/main/dependencies.yaml |