Update .gitlab-ci.yml file
This commit is contained in:
parent
c2615d02c3
commit
3e8606e644
1 changed files with 4 additions and 1 deletions
|
|
@ -6,12 +6,15 @@ stages:
|
||||||
variables:
|
variables:
|
||||||
BUILD_DIR: "build"
|
BUILD_DIR: "build"
|
||||||
CMAKE_OPTIONS: ""
|
CMAKE_OPTIONS: ""
|
||||||
|
DOCKER_IMAGE_NAME: "short-link-backend"
|
||||||
|
DOCKER_IMAGE_TAG: "latest"
|
||||||
|
|
||||||
build_job:
|
build_job:
|
||||||
stage: build
|
stage: build
|
||||||
image: gcc:latest
|
image: gcc:latest
|
||||||
script:
|
script:
|
||||||
- apt-get update -y && apt-get install -y cmake
|
- apt-get update -y
|
||||||
|
- apt-get install -y cmake libboost-all-dev
|
||||||
- mkdir -p ${BUILD_DIR}
|
- mkdir -p ${BUILD_DIR}
|
||||||
- cd ${BUILD_DIR}
|
- cd ${BUILD_DIR}
|
||||||
- cmake .. ${CMAKE_OPTIONS}
|
- cmake .. ${CMAKE_OPTIONS}
|
||||||
|
|
|
||||||
Reference in a new issue