feat: add nlohmann/json on github actions #37
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: tachimawari | ||
- name: Checkout Tachimawari Interfaces | ||
uses: actions/[email protected] | ||
with: | ||
repository: ichiro-its/tachimawari_interfaces | ||
path: tachimawari_interfaces | ||
- name: Checkout Kansei Interfaces | ||
uses: actions/[email protected] | ||
with: | ||
repository: ichiro-its/kansei_interfaces | ||
path: kansei_interfaces | ||
- name: Checkout Keisan | ||
uses: actions/[email protected] | ||
with: | ||
repository: ichiro-its/keisan | ||
path: keisan | ||
- name: Checkout Jitsuyo | ||
uses: actions/[email protected] | ||
with: | ||
repository: ichiro-its/jitsuyo | ||
path: jitsuyo | ||
token: ${{ secrets.GH_TOKEN }} | ||
- name: Install nlohmann/json | ||
run: | | ||
sudo apt update && sudo apt install -y nlohmann-json3-dev | ||
- 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] |