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.
This commit is contained in:
Netkas 2023-10-11 18:35:01 -04:00
parent 0311fcf3f0
commit 1a4d2ff726
No known key found for this signature in database
GPG key ID: 5DAF58535614062B

View file

@ -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: