Update .gitlab-ci.yml file
This commit is contained in:
parent
77b67aa949
commit
a681833712
1 changed files with 5 additions and 1 deletions
|
|
@ -23,8 +23,11 @@ build:
|
|||
before_script:
|
||||
- apt update && apt -y install cmake
|
||||
script:
|
||||
- echo BUILD_JOB_ID=$CI_JOB_ID >> CI_JOB_ID.env
|
||||
- echo "Compiling the code..."
|
||||
- cmake .
|
||||
- cmake --build .
|
||||
|
||||
artifacts:
|
||||
paths:
|
||||
- c_net
|
||||
|
|
@ -36,7 +39,8 @@ build:
|
|||
release:
|
||||
stage: release
|
||||
needs:
|
||||
- build
|
||||
- job: build
|
||||
|
||||
release:
|
||||
tag_name: $CI_COMMIT_SHORT_SHA'
|
||||
description: "latest"
|
||||
|
|
|
|||
Reference in a new issue