mirror of
https://github.com/westonrobot/ugv_sdk
synced 2023-04-08 06:32:14 +08:00
updated github ci
This commit is contained in:
2
.github/workflows/ros-ci.yml
vendored
2
.github/workflows/ros-ci.yml
vendored
@@ -26,6 +26,6 @@ jobs:
|
||||
- name: Create catkin workspace
|
||||
run: mkdir -p /catkin_ws/src && cd /catkin_ws/src && /bin/bash -c "source /opt/ros/${ROS_DISTRO}/setup.bash; catkin_init_workspace"
|
||||
- name: Copy code to catkin workspace
|
||||
run: cd /catkin_ws/src && git clone --recursive https://github.com/westonrobot/ugv_sdk
|
||||
run: cd /catkin_ws/src && git clone https://github.com/westonrobot/async_port.git && git clone -b v2.x https://github.com/westonrobot/ugv_sdk.git
|
||||
- name: Run catkin_make
|
||||
run: cd /catkin_ws && /bin/bash -c "source /opt/ros/${ROS_DISTRO}/setup.bash; catkin_make"
|
||||
|
||||
3
.github/workflows/standalone-ci.yml
vendored
3
.github/workflows/standalone-ci.yml
vendored
@@ -15,6 +15,9 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
# - name: Install dependencies
|
||||
# run: sudo apt-get install -y build-essential cmake libasio-dev
|
||||
- name: Build and install dependent package
|
||||
run: git clone -b v2.x https://github.com/westonrobot/async_port.git && cd async_port \
|
||||
mkdir build && cd build && cmake .. && make && sudo make install
|
||||
- name: Update git submodule
|
||||
run: git submodule update --init --recursive
|
||||
- name: Build and pack
|
||||
|
||||
Reference in New Issue
Block a user