Ci testing #19
1 changed files with 5 additions and 1 deletions
|
|
@ -23,8 +23,11 @@ build:
|
||||||
before_script:
|
before_script:
|
||||||
- apt update && apt -y install cmake
|
- apt update && apt -y install cmake
|
||||||
script:
|
script:
|
||||||
|
- echo BUILD_JOB_ID=$CI_JOB_ID >> CI_JOB_ID.env
|
||||||
|
- echo "Compiling the code..."
|
||||||
- cmake .
|
- cmake .
|
||||||
- cmake --build .
|
- cmake --build .
|
||||||
|
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- c_net
|
- c_net
|
||||||
|
|
@ -36,7 +39,8 @@ build:
|
||||||
release:
|
release:
|
||||||
stage: release
|
stage: release
|
||||||
needs:
|
needs:
|
||||||
- build
|
- job: build
|
||||||
|
|
||||||
release:
|
release:
|
||||||
tag_name: $CI_COMMIT_SHORT_SHA'
|
tag_name: $CI_COMMIT_SHORT_SHA'
|
||||||
description: "latest"
|
description: "latest"
|
||||||
|
|
|
||||||
Reference in a new issue