Skip to content
Snippets Groups Projects
Commit f892fc21 authored by John Hodge's avatar John Hodge
Browse files

Add .gitlab-ci.yml

parent 0de1e8b3
Branches
No related merge requests found
Pipeline #381 failed with stages
in 2 minutes and 38 seconds
# This file is a template, and might need editing before it works on your project.
# use the official gcc image, based on debian
# can use verions as well, like gcc:5.2
# see https://hub.docker.com/_/gcc/
image: gcc
build:
stage: build
# instead of calling g++ directly you can also use some build toolkit like make
# install the necessary build tools when needed
# before_script:
# - apt update && apt -y install make autoconf
script:
- make -C src/
artifacts:
paths:
- dispense
- cokebank_sqlite.so
- dispsrc
# depending on your build setup it's most likely a good idea to cache outputs to reduce the build time
# cache:
# paths:
# - "*.o"
# run tests using the binary built before
test:
stage: test
script:
- cd tests && ./TEST_basic.sh
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment