From 13f9ae760f263bc441469c2021c3e56728047119 Mon Sep 17 00:00:00 2001 From: Ruixiang Du Date: Fri, 23 Oct 2020 14:43:15 +0800 Subject: [PATCH] udpated github ci --- .github/workflows/ros-ci.yml | 2 +- .github/workflows/standalone-ci.yml | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ros-ci.yml b/.github/workflows/ros-ci.yml index 97d461f..3af080a 100644 --- a/.github/workflows/ros-ci.yml +++ b/.github/workflows/ros-ci.yml @@ -28,6 +28,6 @@ jobs: - name: Copy code to catkin workspace run: cd /catkin_ws/src && cp -r $GITHUB_WORKSPACE . - 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 run: cd /catkin_ws && /bin/bash -c "source /opt/ros/${ROS_DISTRO}/setup.bash; catkin_make" diff --git a/.github/workflows/standalone-ci.yml b/.github/workflows/standalone-ci.yml index 8d1d63d..f7fd079 100644 --- a/.github/workflows/standalone-ci.yml +++ b/.github/workflows/standalone-ci.yml @@ -18,7 +18,4 @@ jobs: - name: Update git submodule run: git submodule update --init --recursive - name: Build and pack - run: mkdir build && cd build && cmake -DBUILD_TESTS=ON .. && cmake --build . && cpack - - name: Run tests - run: ./build/bin/gtest_all - + run: mkdir build && cd build && cmake -DBUILD_TESTS=ON .. && cmake --build . && cpack