Extend Fedora Dockerfile, add sourcehut builds for Debian and Fedora.
Previously had partial docs for Fedora 31. This updates to Fedora 33, adds support for audio and video and adds dependencies to allow the test suite to run to completion.
This commit is contained in:
61
.builds/fedora-33-with-site-packages.yml
Normal file
61
.builds/fedora-33-with-site-packages.yml
Normal file
@@ -0,0 +1,61 @@
|
||||
image: fedora/33
|
||||
packages:
|
||||
# Install bootstrap and configure dependencies.
|
||||
- automake
|
||||
# - gcc
|
||||
# - make
|
||||
- nodejs
|
||||
- npm
|
||||
- python3-devel
|
||||
- virtualenv
|
||||
|
||||
# Install make and runtime dependencies.
|
||||
# - findutils
|
||||
- python3-alembic
|
||||
- python3-celery
|
||||
- python3-jsonschema
|
||||
- python3-kombu
|
||||
- python3-lxml
|
||||
- python3-migrate
|
||||
- python3-pillow
|
||||
- python3-py
|
||||
- python3-pytest
|
||||
- python3-pytest-xdist
|
||||
- python3-snowballstemmer
|
||||
- python3-sphinx
|
||||
- python3-webtest
|
||||
- libffi-devel
|
||||
# - which
|
||||
|
||||
# Install audio dependencies.
|
||||
- gstreamer1-plugins-base
|
||||
- gstreamer1-plugins-bad-free
|
||||
- gstreamer1-plugins-good
|
||||
- gstreamer1-plugins-ugly-free
|
||||
- python3-numpy
|
||||
|
||||
# Install video dependencies.
|
||||
- python3-gobject
|
||||
- python3-gstreamer1
|
||||
- gstreamer1-plugin-openh264
|
||||
|
||||
# # Install raw image dependencies.
|
||||
# - libexiv2-dev
|
||||
# - libboost-python-dev
|
||||
|
||||
# # Install document (PDF-only) dependencies.
|
||||
# - poppler-utils
|
||||
|
||||
tasks:
|
||||
- core: |
|
||||
cd mediagoblin
|
||||
git show --oneline --no-patch
|
||||
./bootstrap.sh
|
||||
VIRTUALENV_FLAGS='--system-site-packages' ./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
|
||||
Reference in New Issue
Block a user