diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..f86292f3438c78d1922477fa08b1bb74ee2668ca --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,16 @@ +test: + image: python:3.8-slim + script: + - python3 -m ebpfcat.ebpf_test -v Tests && python3 -m ebpfcat.ethercat_test -v + +docs: + image: sphinxdoc/sphinx + script: + - apt-get update + - apt-get install -y openssh-client + - pip3 install . --user + - sphinx-build -b html -d _build/doctrees . _build/html + - eval $(ssh-agent) + - echo "$SSHKEY" | ssh-add - + - ssh -o UserKnownHostsFile=known_hosts wp86team@exflqr30526 "./doc-prepare ec_$CI_COMMIT_REF_NAME" + - scp -o UserKnownHostsFile=known_hosts -r _build/html wp86team@exflqr30526:html/ec_$CI_COMMIT_REF_NAME