Bug 1432392 - Switch the spidermonkey rust bindings job to a Debian-based docker image. r=dustin

This job requires cmake, which should be fixed, but in the meanwhile,
create a separate docker image with it installed, based on the image we
use for other spidermonkey builds.

--HG--
extra : rebase_source : da43a7999b6bd86dbba816358d907c902415bed4
This commit is contained in:
Mike Hommey 2018-01-26 11:43:31 +09:00
Родитель 904937e12f
Коммит a5428cd701
3 изменённых файлов: 18 добавлений и 1 удалений

Просмотреть файл

@ -60,6 +60,11 @@ jobs:
- deb7-valgrind
args:
ARCH: i386
debian7-mozjs-rust-build:
symbol: I(deb7jsrs)
parent: debian7-amd64-build
packages:
- deb7-cmake
lint:
symbol: I(lnt)
debian9-base:

Просмотреть файл

@ -41,7 +41,7 @@ sm-rust-bindings-linux64/debug:
tier: 2
platform: linux64/debug
worker:
docker-image: {in-tree: desktop-build}
docker-image: {in-tree: debian7-mozjs-rust-build}
run:
using: spidermonkey-rust-bindings
spidermonkey-variant: plain

Просмотреть файл

@ -0,0 +1,12 @@
# %ARG DOCKER_IMAGE_PARENT
FROM $DOCKER_IMAGE_PARENT
MAINTAINER Mike Hommey <mhommey@mozilla.com>
VOLUME /builds/worker/checkouts
VOLUME /builds/worker/workspace
VOLUME /builds/worker/tooltool-cache
# %ARG DOCKER_IMAGE_PACKAGES
RUN /usr/local/sbin/setup_packages.sh $DOCKER_IMAGE_PACKAGES && \
apt-get update && \
apt-get install cmake