more fix to git lab cpp ci setup

This commit is contained in:
Ruixiang Du
2021-04-08 11:49:51 +08:00
parent f04bab6f0b
commit 8b3f657a75

View File

@@ -16,7 +16,7 @@ jobs:
# - name: Install dependencies # - name: Install dependencies
# run: sudo apt-get install -y build-essential cmake libasio-dev # run: sudo apt-get install -y build-essential cmake libasio-dev
- name: Build and install dependent package - name: Build and install dependent package
run: git clone -b v2.x https://github.com/westonrobot/async_port.git && cd async_port \ run: git clone https://github.com/westonrobot/async_port.git && cd async_port && \
mkdir build && cd build && cmake .. && make && sudo make install mkdir build && cd build && cmake .. && make && sudo make install
- name: Update git submodule - name: Update git submodule
run: git submodule update --init --recursive run: git submodule update --init --recursive