Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 0 additions & 23 deletions .github/workflows/build-and-test-nightly.yml

This file was deleted.

21 changes: 0 additions & 21 deletions .github/workflows/build-and-test-stable.yml

This file was deleted.

46 changes: 0 additions & 46 deletions .github/workflows/build-debian-nightly.yml

This file was deleted.

44 changes: 0 additions & 44 deletions .github/workflows/build-debian-stable.yml

This file was deleted.

68 changes: 68 additions & 0 deletions .github/workflows/build-ros2-ws-action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
name: ros2-ws-action
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: shisen_cpp

- name: Checkout Shisen Interface
uses: actions/[email protected]
with:
repository: ichiro-its/shisen_interfaces
path: shisen_interfaces

- name: Checkout Kansei Interfaces
uses: actions/[email protected]
with:
repository: ichiro-its/kansei_interfaces
path: kansei_interfaces

- name: install opencv contrib
run: |
sudo apt install libopencv-contrib-dev -y

- 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: 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]
20 changes: 20 additions & 0 deletions .github/workflows/dispatch-discord-pr-bot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Dispatch Discord PR Bot

on:
pull_request:
types: [opened, closed, reopened]
workflow_dispatch:

jobs:
dispatch-discord-pr-bot:
runs-on: ubuntu-latest
steps:
- uses: peter-evans/repository-dispatch@v3
with:
repository: ichiro-its/${{ vars.DISCORD_PR_BOT_REPO }}
event-type: pull_request
client-payload: |
{
"repository": "${{ github.event.repository.name }}",
"pr_type": "${{ github.event.action || 'opened' }}"
}
Loading