Skip to content

Commit 887cf29

Browse files
committed
[CI] new ci added
1 parent 8792451 commit 887cf29

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/build_humble.yaml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: build-humble
2+
3+
on:
4+
pull_request:
5+
types: [review_requested, ready_for_review]
6+
branches:
7+
- main
8+
push:
9+
branches:
10+
- main
11+
12+
jobs:
13+
build-and-test:
14+
runs-on: ${{ matrix.os }}
15+
container:
16+
image: aerostack2/nightly-humble:latest
17+
strategy:
18+
matrix:
19+
os: [ubuntu-22.04]
20+
fail-fast: false
21+
steps:
22+
- name: Install deps
23+
run: sudo apt-get update && sudo apt-get install -y lcov python3-vcstool python3-colcon-lcov-result python3-colcon-coveragepy-result python3-rosdep python3-pip python3-colcon-common-extensions python3-empy
24+
- name: Setup ros
25+
uses: ros-tooling/setup-ros@v0.7
26+
with:
27+
required-ros-distributions: humble
28+
- name: Checkout Aerostack2
29+
run : |
30+
echo 'repositories:\n aerostack2:\n type: git\n url: https://github.com/aerostack2/aerostack2.git\n version: main' >> /tmp/dependencies.repos
31+
- name: build and test
32+
uses: ros-tooling/action-ros-ci@v0.3
33+
with:
34+
package-name: >
35+
as2_platform_dji_psdk
36+
target-ros2-distro: humble
37+
vcs-repo-file-url: /tmp/dependencies.repos

0 commit comments

Comments
 (0)