Andres Gomez <ago...@igalia.com> writes:

> Until now we were only running the python unit tests.
>
> It seems desirable to also check that the CMake based build compiles
> successfully. We do that now using docker.
>
> The docker build can be tweaked with some environment variables and,
> also, be stored in the docker hub if desired. Check the changes for
> extra details regarding these variables.
>
> v2: Removed other build possibilities other than just from inside
>     Travis-CI, as suggested by Juan.
> v3: Replaced the "RELEASE" parameter to create the docker image with
>     "PARENT" and removed some unneeded documentation after v2, as
>     suggested by Juan.
> v4:
>   - Use DOCKER_PARENT, DOCKER_IMAGE and DOCKER_TAG variables from the
>     custom Travis-CI setup to define the PARENT, IMAGE and TAG
>     parameters during the docker image creation.
>   - Upload the image only if DOCKER_IMAGE and DOCKER_TAG are set.
>
> Cc: Dylan Baker <dy...@pnwbakers.com>
> Cc: Juan A. Suarez <jasua...@igalia.com>
> Signed-off-by: Andres Gomez <ago...@igalia.com>
> Reviewed-by: Juan A. Suarez <jasua...@igalia.com>

If this build has proven to be fast enough, I should probably take a
look at doing this for the xserver as well.  (For xserver, the issue was
all the package installs per Travis run, so I have an image I manage on
dockerhub instead)

Acked-by: Eric Anholt <e...@anholt.net>

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Piglit mailing list
Piglit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to