From e07d30019dd2b998f6a4df7dc419666981dc4e44 Mon Sep 17 00:00:00 2001 From: "pinloon.lee" Date: Wed, 31 Mar 2021 16:47:18 +0800 Subject: [PATCH] trying to resolve ci installation of .deb file --- .gitlab-ci.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5d0891c..af7c23b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,7 +6,8 @@ xenial-cpp-build: - 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 install ./async_port_0.1.0_amd64.deb + - apt-get install -y apt-utils + - apt-get install ./async_port_0.1.0_amd64.deb - cd /$CI_PROJECT_PATH - mkdir build && cd build - cmake -DCMAKE_BUILD_TYPE=Release .. @@ -19,7 +20,8 @@ bionic-cpp-build: - 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 install ./async_port_0.1.0_amd64.deb + - apt-get install -y apt-utils + - apt-get install ./async_port_0.1.0_amd64.deb - cd /$CI_PROJECT_PATH - mkdir build && cd build - cmake -DCMAKE_BUILD_TYPE=Release .. @@ -32,7 +34,8 @@ focal-cpp-build: - 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 install ./async_port_0.1.0_amd64.deb + - apt-get install -y apt-utils + - apt-get install ./async_port_0.1.0_amd64.deb - cd /$CI_PROJECT_PATH - mkdir build && cd build - cmake -DCMAKE_BUILD_TYPE=Release ..