mirror of
https://github.com/davidallendj/gdpm.git
synced 2025-12-19 19:17:01 -07:00
-Make package manager functions return error -Added Jenkensfile CI for testing purposes -Updated the github CI for testing purposes
45 lines
No EOL
581 B
YAML
45 lines
No EOL
581 B
YAML
variables:
|
|
PROJECT_ROOT_PATH: /home/$USER/gdpm
|
|
|
|
|
|
stages:
|
|
- build
|
|
- test
|
|
- package
|
|
|
|
|
|
cache:
|
|
paths:
|
|
- tests
|
|
|
|
|
|
before-script:
|
|
- echo "Setting up dependencies..."
|
|
- git clone $
|
|
|
|
|
|
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 |