X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=.gitlab-ci.yml;h=c16ff8e1727d46f7035f9d16d0ac576f8552408d;hb=674c5c0b50247a280a5e6ab0ce1c252579db6407;hp=c2ad740041373c202d4de9afe1efccbf2c87b5e3;hpb=f892fc21d4ac919b09c1ccf0c48c6ecf12b41f0d;p=tpg%2Fopendispense2.git diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c2ad740..c16ff8e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,15 +8,15 @@ 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 + before_script: + - apt update && apt -y install libncurses-dev libmodbus-dev libsqlite3-dev libident-dev script: - make -C src/ artifacts: paths: - dispense - cokebank_sqlite.so - - dispsrc + - dispsrv # depending on your build setup it's most likely a good idea to cache outputs to reduce the build time # cache: # paths: @@ -25,5 +25,7 @@ build: # run tests using the binary built before test: stage: test + before_script: + - apt update && apt -y install libncurses libmodbus libsqlite3 libident netcat script: - cd tests && ./TEST_basic.sh