diff options
author | Ben Sturmfels <ben@sturm.com.au> | 2021-03-29 17:08:15 +1100 |
---|---|---|
committer | Ben Sturmfels <ben@sturm.com.au> | 2021-03-29 17:11:01 +1100 |
commit | bbb42acfc91f120b068d7794e146ffd8d0d5bffe (patch) | |
tree | 738e7ffb657ff2fd6876b053f44d4e3c9699556c | |
parent | 6e6baa15cccdbc709ff39872613a7cfe08dd7dde (diff) | |
download | mediagoblin-bbb42acfc91f120b068d7794e146ffd8d0d5bffe.tar.lz mediagoblin-bbb42acfc91f120b068d7794e146ffd8d0d5bffe.tar.xz mediagoblin-bbb42acfc91f120b068d7794e146ffd8d0d5bffe.zip |
Add Debian 11 CI build.
-rw-r--r-- | .builds/debian-11-with-site-packages.yml | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/.builds/debian-11-with-site-packages.yml b/.builds/debian-11-with-site-packages.yml new file mode 100644 index 00000000..0a9fff39 --- /dev/null +++ b/.builds/debian-11-with-site-packages.yml @@ -0,0 +1,74 @@ +image: debian/bullseye +packages: + # Install bootstrap and configure dependencies. + - automake + - nodejs + - npm + - python3-dev + - virtualenv + + # Install make and runtime dependencies. + - python3-alembic + - python3-jsonschema + - python3-kombu + - python3-lxml + - python3-migrate + - python3-pillow + - python3-py + - python3-pytest + - python3-pytest-xdist + - python3-snowballstemmer + - python3-sphinx + - python3-sphinxcontrib.devhelp + - python3-sphinxcontrib.qthelp + - python3-sphinxcontrib.websupport + - python3-webtest + + # Install audio dependencies. + - gstreamer1.0-libav + - gstreamer1.0-plugins-bad + - gstreamer1.0-plugins-base + - gstreamer1.0-plugins-good + - gstreamer1.0-plugins-ugly + - python3-gst-1.0 + - python3-numpy + + # Install video dependencies. + - gir1.2-gst-plugins-base-1.0 + - gir1.2-gstreamer-1.0 + - gstreamer1.0-tools + - python3-gi + + # Install raw image dependencies. + - libexiv2-dev + - libboost-python-dev + + # Install document (PDF-only) dependencies. + - poppler-utils + + # Install LDAP depedencies. + - python3-ldap + + # Install OpenID dependencies. + - python3-openid + +tasks: + - core: | + cd mediagoblin + git show --oneline --no-patch + ./bootstrap.sh + VIRTUALENV_FLAGS='--system-site-packages' ./configure + make + + # Install additional Sphinx dependencies not in Debian. + ./bin/pip install sphinxcontrib-applehelp sphinxcontrib-htmlhelp sphinxcontrib-jsmath + + # Install raw image library from PyPI as not available in Debian 10. + ./bin/pip install py3exiv2 + + # Run the tests, explicitly listing out skipped tests. + ./bin/python -m pytest -rs ./mediagoblin/tests --boxed + + # Build the documentation. + cd docs && make html + |