Skip to content

[Sprint 22 / PD-401] [Enhancement] Update Github Workflows #7

[Sprint 22 / PD-401] [Enhancement] Update Github Workflows

[Sprint 22 / PD-401] [Enhancement] Update Github Workflows #7

name: CI
on:
workflow_dispatch:
pull_request:
push:
branches: [master]
jobs:
build-and-test:
name: Build and Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
with:
path: akushon
ref: feature/add-grpc
- name: Checkout Dependencies
run: |
git clone https://github.com/ichiro-its/akushon_interfaces.git
git clone https://github.com/ichiro-its/kansei_interfaces.git
git clone https://github.com/ichiro-its/keisan.git
git clone https://github.com/ichiro-its/tachimawari.git
git clone https://github.com/ichiro-its/tachimawari_interfaces.git
- name: Setup abseil for grpc
run: |
git clone https://github.com/abseil/abseil-cpp.git
cmake -S abseil-cpp -B abseil-cpp/build
cmake --build abseil-cpp/build
sudo cmake --install abseil-cpp/build
- name: Setup grpc
run: |
git clone --recurse-submodules -b v1.61.0 --depth 1 --shallow-submodules https://github.com/grpc/grpc
cmake -S grpc -B grpc/build
cmake --build grpc/build
sudo cmake --install grpc/build
- name: Setup workspace
uses: ichiro-its/ros2-ws-action/[email protected]
- name: Build workspace
uses: ichiro-its/ros2-ws-action/[email protected]
- name: Test workspace
uses: ichiro-its/ros2-ws-action/[email protected]