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