mirror of
https://github.com/davidallendj/gdpm.git
synced 2025-12-20 03:27:02 -07:00
Added CI script, updated dependencies, and fixed bugs
-Added CI yaml file for workflows -Added `doctest` as dependency -Added test target executable to CMakeLists.txt -Renamed `bin` scripts to remove `gdpm*` prefix -Updated `SQLite 3` dependency in CMakeLists.txt -Implement basic unit testing in `tests/basic.cpp` -Fixed issue with handling `fmt` strings
This commit is contained in:
parent
e36f0aee79
commit
e048a762b2
22 changed files with 169 additions and 38 deletions
45
.gitlab-ci.yml
Normal file
45
.gitlab-ci.yml
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
variables:
|
||||
PROJECT_ROOT_PATH: /home/$USER/gdpm
|
||||
|
||||
|
||||
stages:
|
||||
- build
|
||||
- test
|
||||
- package
|
||||
|
||||
|
||||
cache:
|
||||
paths:
|
||||
- .cache
|
||||
|
||||
|
||||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue