Merge branch 'main' of https://git-ainf.aau.at/thschleicher/short-link-backend
This commit is contained in:
commit
d57d7246e8
1 changed files with 4 additions and 1 deletions
|
|
@ -6,12 +6,15 @@ stages:
|
|||
variables:
|
||||
BUILD_DIR: "build"
|
||||
CMAKE_OPTIONS: ""
|
||||
DOCKER_IMAGE_NAME: "short-link-backend"
|
||||
DOCKER_IMAGE_TAG: "latest"
|
||||
|
||||
build_job:
|
||||
stage: build
|
||||
image: gcc:latest
|
||||
script:
|
||||
- apt-get update -y && apt-get install -y cmake
|
||||
- apt-get update -y
|
||||
- apt-get install -y --no-install-recommends cmake libboost-all-dev
|
||||
- mkdir -p ${BUILD_DIR}
|
||||
- cd ${BUILD_DIR}
|
||||
- cmake .. ${CMAKE_OPTIONS}
|
||||
|
|
|
|||
Reference in a new issue