diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..45aada9 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,37 @@ +stages: + - build + - test + +build_buster: + stage: build + image: debian:buster + before_script: + - apt-get update && apt-get install -y build-essential exim4-dev libsodium-dev + script: + - cd src + - make all + artifacts: + paths: + - src/genkey + - src/libexim-encrypt-dlfunc.so + +build_bullseye: + stage: build + image: debian:bullseye + before_script: + - apt-get update && apt-get install -y build-essential exim4-dev libsodium-dev + script: + - cd src + - make all + artifacts: + paths: + - src/genkey + - src/libexim-encrypt-dlfunc.so + +test: + stage: test + before_script: + - apt-get update && apt-get install -y exim4-daemon-heavy openssl + script: + - cd src + - ./simple_exim_test.sh