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/checkout@v4.1.1 | ||
with: | ||
path: tachimawari | ||
- name: Checkout Tachimawari Interfaces | ||
uses: actions/checkout@v4.1.1 | ||
with: | ||
repository: ichiro-its/tachimawari_interfaces | ||
path: tachimawari_interfaces | ||
- name: Checkout Kansei Interfaces | ||
uses: actions/checkout@v4.1.1 | ||
with: | ||
repository: ichiro-its/kansei_interfaces | ||
path: kansei_interfaces | ||
- name: Checkout Keisan | ||
uses: actions/checkout@v4.1.1 | ||
with: | ||
repository: ichiro-its/keisan | ||
path: keisan | ||
- name: Checkout Jitsuyo | ||
uses: actions/checkout@v4.1.1 | ||
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/setup@v1.0.1 | ||
- name: Build workspace | ||
uses: ichiro-its/ros2-ws-action/build@v1.0.1 | ||
- name: Test workspace | ||
uses: ichiro-its/ros2-ws-action/test@v1.0.1 |