diff options
author | Ben Sturmfels <ben@sturm.com.au> | 2021-09-23 16:09:06 +1000 |
---|---|---|
committer | Ben Sturmfels <ben@sturm.com.au> | 2021-09-23 16:28:01 +1000 |
commit | a8334fa7d816a077446ebdbc646beb245fdcd347 (patch) | |
tree | 65ee0fd7420dfc463518462d6045539b1da1f166 | |
parent | e8efeaa8f5eccafdae6c4a506b6dba04017a153a (diff) | |
download | mediagoblin-a8334fa7d816a077446ebdbc646beb245fdcd347.tar.lz mediagoblin-a8334fa7d816a077446ebdbc646beb245fdcd347.tar.xz mediagoblin-a8334fa7d816a077446ebdbc646beb245fdcd347.zip |
Add Ubuntu 20.04 CI build, reinstate Debian 10 build.
-rw-r--r-- | .builds/debian-10-sqlite.yml | 68 | ||||
-rw-r--r-- | .builds/debian-11-sqlite.yml | 4 | ||||
-rw-r--r-- | .builds/fedora-33-sqlite.yml | 4 | ||||
-rw-r--r-- | .builds/ubuntu-20.04.yml | 72 |
4 files changed, 144 insertions, 4 deletions
diff --git a/.builds/debian-10-sqlite.yml b/.builds/debian-10-sqlite.yml new file mode 100644 index 00000000..95e31901 --- /dev/null +++ b/.builds/debian-10-sqlite.yml @@ -0,0 +1,68 @@ +image: debian/buster +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.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 + ./configure + make + + # 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 diff --git a/.builds/debian-11-sqlite.yml b/.builds/debian-11-sqlite.yml index 60596a77..1ff1dd22 100644 --- a/.builds/debian-11-sqlite.yml +++ b/.builds/debian-11-sqlite.yml @@ -54,13 +54,13 @@ tasks: cd mediagoblin git show --oneline --no-patch ./bootstrap.sh - VIRTUALENV_FLAGS='--system-site-packages' ./configure + ./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. + # Install raw image library from PyPI as not available in Debian 11. ./bin/pip install py3exiv2 # Confirm our packages version for later troubleshooting. diff --git a/.builds/fedora-33-sqlite.yml b/.builds/fedora-33-sqlite.yml index 061edff3..82fd5d9c 100644 --- a/.builds/fedora-33-sqlite.yml +++ b/.builds/fedora-33-sqlite.yml @@ -53,10 +53,10 @@ tasks: cd mediagoblin git show --oneline --no-patch ./bootstrap.sh - VIRTUALENV_FLAGS='--system-site-packages' ./configure + ./configure make - # # Install raw image library from PyPI as not available in Debian 10. + # # Install raw image library from PyPI as not available in Debian 11. # ./bin/pip install py3exiv2 # Confirm our packages version for later troubleshooting. diff --git a/.builds/ubuntu-20.04.yml b/.builds/ubuntu-20.04.yml new file mode 100644 index 00000000..be9a8fb9 --- /dev/null +++ b/.builds/ubuntu-20.04.yml @@ -0,0 +1,72 @@ +image: ubuntu/20.04 +packages: + # Install bootstrap and configure dependencies. + - automake + - nodejs + - npm + - python3-dev + - virtualenv + + # Install make and runtime dependencies. + - python3-lxml + - python3-pil + + # Install test and docs dependencies. + - python3-pytest + - python3-pytest-xdist + - python3-snowballstemmer + - python3-sphinx + - 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 + ./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 11. + ./bin/pip install py3exiv2 + + # Confirm our packages version for later troubleshooting. + ./bin/python -m pip freeze + + # Run the tests, explicitly listing out skipped tests. + ./bin/python -m pytest -rs ./mediagoblin/tests --boxed + + # Build the documentation. + cd docs && make html + |