mirror of
https://github.com/westonrobot/ugv_sdk
synced 2023-04-08 06:32:14 +08:00
updated ci, updated hunter set brake mode impl
This commit is contained in:
12
.github/workflows/standalone-ci.yml
vendored
12
.github/workflows/standalone-ci.yml
vendored
@@ -2,9 +2,9 @@ name: Cpp
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master, v2.x ]
|
||||
branches: [ next ]
|
||||
pull_request:
|
||||
branches: [ master, v2.x ]
|
||||
branches: [ next ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@@ -13,11 +13,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- 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 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: Install dependencies
|
||||
run: sudo apt-get install -y build-essential cmake libasio-dev
|
||||
- name: Build and pack
|
||||
run: mkdir build && cd build && cmake -DBUILD_TESTS=ON .. && cmake --build . && cpack
|
||||
|
||||
Reference in New Issue
Block a user