summaryrefslogtreecommitdiff
path: root/server/test/docker/templates
AgeCommit message (Collapse)Author
2022-11-25Extend docker testing framework to test against Emacs versionsVedang Manerikar
Until this commit, docker-based local testing only checked whether the epdfinfo server compiled correctly. With this commit, local testing now also runs elisp tests against the different versions of Emacs we currently support. All versions of Emacs are run on Ubuntu at the moment, but going forward I expect that we will add more operating system variants to this matrix as well. As test coverage increases, this will help automate away a lot of the tests! Relates to: #130
2022-10-07Enable testing against MacOS in CI/CD!v0.99Vedang Manerikar
This is pretty cool, I hope it works! 🤞 It uses the `macos` orb provided by CircleCI, as documented here: https://circleci.com/docs/using-macos This commit also rewrites the older anchor style common steps into the newer command syntax, which is more readable. The command syntax is documented here: https://circleci.com/docs/configuration-reference#commands Installing pre-reqs on MacOS via `brew` was non-trivial. This is mainly because of the `sed` command used in the `Makefile`. It isn't a problem normally because it is only used for packaging, which is done on Melpa Relates to: #98
2022-07-21Fix: Dockerfile for ubuntu-18/20 needs fix-missingVedang Manerikar
The output on the terminal suggested using fix-missing, which seems to fix the sources and find the packages :)
2022-07-20Test and Documentation changes: dockerfiles and readmeVedang Manerikar
README changes: - Add documentation on how to test / add support for your favorite operating system. Dockerfile changes: - Rename Dockerfile.in to Dockerfile.common.in, to make the name clearer. - Add make as a prerequisite in the Dockerfile. + It is needed to run make commands and is not available in some of these images. - Add make targets for printing operating systems that are not yet supported in Docker testing. + This should help contributors with adding support for testing on these systems. + New targets are `server-test-supported` and `server-test-unsupported` at the top level. Related to: #130
2022-05-21Update the current Dockerfile templatesVedang Manerikar
- Move all package installation to the autobuild file. The Dockerfile should simply start a container and make sure that all the package repositories are updated. - Dockerfiles should spin up containers for the latest (ish) releases of the major Linux operating systems. - Disable Dockerfiles for environments which are not working correctly. List of operating systems where `epdfinfo` server compilation is tested and working correctly: - Debian (9, 10, 11) - Ubuntu (18, 20, 22) - Fedora (34, 35, 36) List of operating systems where `epdfinfo` server compilation is failing inside the containers, for unknown reasons: - Gentoo - Centos - Archlinux List of operating systems that need to be added to containerized testing: - MacOSX - Windows via Msys2 (Mingw32, Mingw64) - OpenBSD - FreeBSD - NixOS - Void - OpenSuse Relates to: #98
2022-05-21Remove usage of all private poppler headers in pdf-toolsPi-Cla
This commit also removes C++ entirely, as it is not needed anymore for correct compilation of `epdfinfo`. The following changes are made: - Remove private headers from all the server code. This involves: - Replace private header functionality with the correct public functions provided by poppler. - Remove unneeded headers around date checks - Delete dead-code (headers, m4 macros) - Remove C++, g++ and similar aliases from all the code. Also: - Remove related information from the README - Remove related information from CI and Dockerfiles Work done by: @Pi-Cla Closes: #105, #103, #109, #114
2021-05-30Update all the docker template filesVedang Manerikar
This work is part of the effort to fix the `test-all` Make target. When I complete all the work, I will update the relevant Circle CI scripts to run these tests as well. Note also that I personally use podman instead of docker, so I'm replacing docker with podman in the scripts. Someday, I might find a clever way to let both co-exist
2017-09-15Adds gentoo supportAndreas Politz
2017-09-14Run docker tests from a scriptAndreas Politz
2017-09-13Adapt docker tests to new autobuild interfaceAndreas Politz
2017-09-12Do a "make install" when testing the autobuild scriptAndreas Politz
2017-09-10Add docker tests for the autobuild scriptAndreas Politz