changed to make install instead of install .deb

This commit is contained in:
pinloon.lee
2021-03-31 16:55:40 +08:00
parent e07d30019d
commit 36073ef46e

View File

@@ -5,9 +5,8 @@ xenial-cpp-build:
script:
- cd / && git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/westonrobot/public/async_port.git
- cd /async_port && mkdir build && cd build
- cmake .. && cpack
- apt-get install -y apt-utils
- apt-get install ./async_port_0.1.0_amd64.deb
- cmake .. && make
- make install
- cd /$CI_PROJECT_PATH
- mkdir build && cd build
- cmake -DCMAKE_BUILD_TYPE=Release ..
@@ -19,9 +18,8 @@ bionic-cpp-build:
script:
- cd / && git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/westonrobot/public/async_port.git
- cd /async_port && mkdir build && cd build
- cmake .. && cpack
- apt-get install -y apt-utils
- apt-get install ./async_port_0.1.0_amd64.deb
- cmake .. && make
- make install
- cd /$CI_PROJECT_PATH
- mkdir build && cd build
- cmake -DCMAKE_BUILD_TYPE=Release ..
@@ -33,9 +31,8 @@ focal-cpp-build:
script:
- cd / && git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/westonrobot/public/async_port.git
- cd /async_port && mkdir build && cd build
- cmake .. && cpack
- apt-get install -y apt-utils
- apt-get install ./async_port_0.1.0_amd64.deb
- cmake .. && make
- make install
- cd /$CI_PROJECT_PATH
- mkdir build && cd build
- cmake -DCMAKE_BUILD_TYPE=Release ..