diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..bcf264c --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,27 @@ +stages: + - build + - test + - deploy + +before_script: + - ./bootstrap + - ./configure + +build: + stage: build + script: + - make + +# test: +# stage: test +# script: +# - make test + +dist: + stage: deploy + only: + - tags + script: + - make dist + - ssh ci_upload@192.168.20.60 install -d trevent/artifacts + - scp libtrevent-*.tar.gz ci_upload@192.168.20.60:~/trevent/artifacts