-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (35 loc) · 916 Bytes
/
build.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Build
on:
push:
branches: [master]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
container: debian:bookworm
steps:
- run: mkdir -p catkin_ws/src
- name: Checkout Project
uses: actions/checkout@v3
with:
path: catkin_ws/src/aioros
- run: apt update
- name: Install base
run: apt install -y catkin-tools g++ python3-rosdep2
- name: Install dependencies
run: |
cd catkin_ws
echo "yaml file://$PWD/src/aioros/rosdep.yaml" >> /etc/ros/rosdep/sources.list.d/aioros.list
rosdep update
rosdep install --from-paths src -y
- name: Build
run: |
cd catkin_ws
catkin init
catkin config --install
catkin build
- name: Test
run: |
cd catkin_ws
. install/setup.sh
pytest-3 src/aioros/tests