mirror of
https://github.com/davidallendj/gdpm.git
synced 2025-12-20 03:27:02 -07:00
- Reinitialized submodules - Slightly restructed project - Added more options to `compile.sh` script - Added more utility functions
44 lines
No EOL
565 B
YAML
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 |