mirror of
https://github.com/westonrobot/ugv_sdk
synced 2023-04-08 06:32:14 +08:00
udpated github ci
This commit is contained in:
2
.github/workflows/ros-ci.yml
vendored
2
.github/workflows/ros-ci.yml
vendored
@@ -28,6 +28,6 @@ jobs:
|
|||||||
- name: Copy code to catkin workspace
|
- name: Copy code to catkin workspace
|
||||||
run: cd /catkin_ws/src && cp -r $GITHUB_WORKSPACE .
|
run: cd /catkin_ws/src && cp -r $GITHUB_WORKSPACE .
|
||||||
- name: Update git submodule
|
- name: Update git submodule
|
||||||
run: cd /catkin_ws/src/$GITHUB_WORKSPACE && git submodule update --init --recursive
|
run: cd /catkin_ws/src/ugv_sdk && git submodule update --init --recursive
|
||||||
- name: Run catkin_make
|
- name: Run catkin_make
|
||||||
run: cd /catkin_ws && /bin/bash -c "source /opt/ros/${ROS_DISTRO}/setup.bash; catkin_make"
|
run: cd /catkin_ws && /bin/bash -c "source /opt/ros/${ROS_DISTRO}/setup.bash; catkin_make"
|
||||||
|
|||||||
5
.github/workflows/standalone-ci.yml
vendored
5
.github/workflows/standalone-ci.yml
vendored
@@ -18,7 +18,4 @@ jobs:
|
|||||||
- name: Update git submodule
|
- name: Update git submodule
|
||||||
run: git submodule update --init --recursive
|
run: git submodule update --init --recursive
|
||||||
- name: Build and pack
|
- name: Build and pack
|
||||||
run: mkdir build && cd build && cmake -DBUILD_TESTS=ON .. && cmake --build . && cpack
|
run: mkdir build && cd build && cmake -DBUILD_TESTS=ON .. && cmake --build . && cpack
|
||||||
- name: Run tests
|
|
||||||
run: ./build/bin/gtest_all
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user