--- /dev/null
+Dockerfiles are available to test the latest build on different platforms:
+
+ * fedora:latest - autotest/fedora-latest
+ * centos:latest - autotest/centos-latest
+ * ubuntu:rolling - autotest/ubuntu-rolling
+ * opensuse/leap - autotest/opensuse-leap
+ * debian:latest - autotest/debian-latest
+
+To test, in the project root directory, run:<br>
+```docker-compose --file autotest/<platform directory>/docker-compose.yml build```
\ No newline at end of file
--- /dev/null
+FROM centos:latest
+ADD ./ /code
+WORKDIR /code
+RUN yum -y install epel-release
+RUN yum -y update epel-release
+RUN yum -y install meson gcc "pkgconfig(libzstd)" "pkgconfig(libcurl)" "pkgconfig(openssl)"
+RUN meson build
+RUN /bin/bash -c 'cd build; ninja-build'
+RUN /bin/bash -c 'cd build; ninja-build test'
--- /dev/null
+version: '3'
+services:
+ test:
+ build:
+ context: ../../
+ dockerfile: ./autotest/centos-latest/Dockerfile
--- /dev/null
+FROM debian:latest
+ADD ./ /code
+WORKDIR /code
+RUN apt-get update
+RUN /bin/bash -c 'export DEBIAN_FRONTEND=noninteractive; apt-get -yq install meson gcc pkg-config libzstd-dev libcurl4-openssl-dev libssl-dev'
+RUN meson build
+RUN /bin/bash -c 'cd build; ninja'
+RUN /bin/bash -c 'cd build; ninja test'
--- /dev/null
+version: '3'
+services:
+ test:
+ build:
+ context: ../../
+ dockerfile: ./autotest/debian-latest/Dockerfile
--- /dev/null
+FROM fedora:latest
+ADD ./ /code
+WORKDIR /code
+RUN dnf -y install meson gcc "pkgconfig(libzstd)" "pkgconfig(libcurl)" "pkgconfig(openssl)"
+RUN meson build
+RUN /bin/bash -c 'cd build; ninja'
+RUN /bin/bash -c 'cd build; ninja test'
--- /dev/null
+version: '3'
+services:
+ test:
+ build:
+ context: ../../
+ dockerfile: ./autotest/fedora-latest/Dockerfile
--- /dev/null
+FROM opensuse/leap
+ADD ./ /code
+WORKDIR /code
+RUN zypper --non-interactive install meson gcc pkgconfig "pkgconfig(libzstd)" "pkgconfig(libcurl)" "pkgconfig(openssl)"
+RUN meson build
+RUN /bin/bash -c 'cd build; ninja'
+RUN /bin/bash -c 'cd build; ninja test'
--- /dev/null
+version: '3'
+services:
+ test:
+ build:
+ context: ../../
+ dockerfile: ./autotest/opensuse-leap/Dockerfile
--- /dev/null
+FROM ubuntu:rolling
+ADD ./ /code
+WORKDIR /code
+RUN apt-get update
+RUN /bin/bash -c 'export DEBIAN_FRONTEND=noninteractive; apt-get -yq install meson gcc pkg-config libzstd-dev libcurl4-openssl-dev libssl-dev'
+RUN meson build
+RUN /bin/bash -c 'cd build; ninja'
+RUN /bin/bash -c 'cd build; ninja test'
--- /dev/null
+version: '3'
+services:
+ test:
+ build:
+ context: ../../
+ dockerfile: ./autotest/ubuntu-rolling/Dockerfile