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:
parent
0311fcf3f0
commit
1a4d2ff726
1 changed files with 2 additions and 5 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue