gdpm/.gitlab-ci.yml

44 lines
No EOL
565 B
YAML

variables:
PROJECT_ROOT_PATH: /home/$USER/gdpm
stages:
- build
- test
- package
cache:
paths:
- build
before-script:
- echo "Setting up dependencies..."
build-job:
stage: build
script:
- echo -e "Building executable and libraries...\n$PWD"
- bin/compile.sh
test-job:
stage: test
script:
- echo "Running unit tests..."
- bin/gdpm-tests
package-job:
stage: package
script:
- echo "Packaging binaries..."
deploy-job:
stage: deploy
script:
- echo "Deploying application..."
environment: production