[Sprint 22 / PD-401] [Enhancement] Update Github Workflows #10
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: 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 | |
- 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 | |
rm -rf grpc | |
- 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] |