Skip to content

Commit

Permalink
adapt to split branches in CI (#22)
Browse files Browse the repository at this point in the history
Signed-off-by: ijnek <kenjibrameld@gmail.com>

Signed-off-by: ijnek <kenjibrameld@gmail.com>
  • Loading branch information
ijnek authored Dec 15, 2022
1 parent b7d9b6f commit 3b23fe8
Show file tree
Hide file tree
Showing 4 changed files with 81 additions and 23 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/build_and_test_foxy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Build and Test (foxy)

on:
# Triggers the workflow on push
push:
branches: [ foxy ]

# Triggers the workflow on pull requests
pull_request:
branches: [ foxy ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
container:
image: ubuntu:focal

steps:
- uses: ros-tooling/setup-ros@v0.3
with:
use-ros2-testing: true
- uses: ros-tooling/action-ros-ci@v0.2
with:
target-ros2-distro: foxy
27 changes: 27 additions & 0 deletions .github/workflows/build_and_test_humble.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Build and Test (humble)

on:
# Triggers the workflow on push
push:
branches: [ humble ]

# Triggers the workflow on pull requests
pull_request:
branches: [ humble ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
container:
image: ubuntu:jammy

steps:
- uses: ros-tooling/setup-ros@v0.3
with:
use-ros2-testing: true
- uses: ros-tooling/action-ros-ci@v0.2
with:
target-ros2-distro: humble
27 changes: 27 additions & 0 deletions .github/workflows/build_and_test_rolling.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Build and Test (rolling)

on:
# Triggers the workflow on push
push:
branches: [ ros2 ]

# Triggers the workflow on pull requests
pull_request:
branches: [ ros2 ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
container:
image: ubuntu:jammy

steps:
- uses: ros-tooling/setup-ros@v0.3
with:
use-ros2-testing: true
- uses: ros-tooling/action-ros-ci@v0.2
with:
target-ros2-distro: rolling
23 changes: 0 additions & 23 deletions .github/workflows/tooling-ci.yaml

This file was deleted.

0 comments on commit 3b23fe8

Please sign in to comment.