From 36073ef46e136e3f96696539b8aa6b00534a64d6 Mon Sep 17 00:00:00 2001 From: "pinloon.lee" Date: Wed, 31 Mar 2021 16:55:40 +0800 Subject: [PATCH] changed to make install instead of install .deb --- .gitlab-ci.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index af7c23b..cc4dd6b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 ..