From 1a4d2ff7262465b65e601ff09306b4f694c6e0b5 Mon Sep 17 00:00:00 2001 From: Netkas Date: Wed, 11 Oct 2023 18:35:01 -0400 Subject: [PATCH] Streamline CI pipeline by explicit project installation This commit removes an unused 'prepare' stage from '.gitlab-ci.yml' and includes 'ncc project install' in the build scripts. The intention is to improve the CI/CD flow by installing project dependencies directly in the build phases, preventing possible build failures due to missing dependencies. --- .gitlab-ci.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 17b740d..e3d6e8d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,14 +8,10 @@ stages: variables: PACKAGE_NAME: $CI_COMMIT_REF_NAME -prepare: - stage: prepare - script: - - ncc project install - build: stage: build script: + - ncc project install - ncc build --config release --log-level debug -o "build/release/net.nosial.loglib.ncc" artifacts: paths: @@ -24,6 +20,7 @@ build: build_static: stage: build script: + - ncc project install - ncc build --config release_static --log-level debug -o "build/release/net.nosial.loglib_static.ncc" artifacts: paths: