Skip to content

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

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

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

name: ros2-ws-action
on:
workflow_dispatch:
pull_request:
push:
branches: [master, feature/fix-github-workflows]
workflow_run:
workflows: [Build and Test Nightly]
types: [requested, completed, in_progress]
branches: [feature/fix-github-workflows]
jobs:
build-and-test:
name: Build and Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
with:
path: kansei
- 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 tachimawari
uses: actions/[email protected]
with:
repository: ichiro-its/tachimawari
path: tachimawari
- name: Checkout tachimawari interfaces
uses: actions/[email protected]
with:
repository: ichiro-its/tachimawari_interfaces
path: tachimawari_interfaces
- name: Setup cmake
run: |
sudo apt install -y build-essential autoconf libtool pkg-config cmake
- 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]