summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEvan Welsh <contact@evanwelsh.com>2021-07-10 21:34:26 -0700
committerPhilip Chimento <philip.chimento@gmail.com>2021-10-08 19:15:01 -0700
commit576e88c862715d0c2982a115ead88ceb8053a52e (patch)
tree43c048bc99243dbac8c933c5e94d522023012e8f /test
parent7e70cca895e9f4eef5e5ed92dc1793bbffa3afb4 (diff)
downloadgjs-576e88c862715d0c2982a115ead88ceb8053a52e.tar.gz
Add CI images for mozjs91.
Diffstat (limited to 'test')
-rw-r--r--test/extra/Dockerfile7
-rw-r--r--test/extra/Dockerfile.debug6
2 files changed, 7 insertions, 6 deletions
diff --git a/test/extra/Dockerfile b/test/extra/Dockerfile
index 3e6322e0..5f21a9c6 100644
--- a/test/extra/Dockerfile
+++ b/test/extra/Dockerfile
@@ -6,11 +6,12 @@
FROM registry.fedoraproject.org/fedora:34 AS mozjs-build
ARG MOZJS_BRANCH=mozjs78
ARG MOZJS_BUILDDEPS=${MOZJS_BRANCH}
-ARG BUILD_OPTS=
+ARG BUILD_OPTS=AUTOCONF=autoconf
ENV SHELL=/bin/bash
-RUN dnf -y install 'dnf-command(builddep)' autoconf213 git make which llvm-devel
+RUN dnf -y install 'dnf-command(builddep)' autoconf213 git make which llvm-devel \
+ xz clang llvm rust
RUN dnf -y builddep ${MOZJS_BUILDDEPS}
WORKDIR /root
@@ -21,7 +22,7 @@ RUN mkdir -p mozjs/_build
WORKDIR /root/mozjs/_build
RUN ../js/src/configure --prefix=/usr --libdir=/usr/lib64 --disable-jemalloc \
- --with-system-zlib --with-intl-api AUTOCONF=autoconf ${BUILD_OPTS}
+ --with-system-zlib --with-intl-api ${BUILD_OPTS}
RUN make -j$(nproc)
RUN DESTDIR=/root/mozjs-install make install
RUN rm -f /root/mozjs-install/usr/lib64/libjs_static.ajs
diff --git a/test/extra/Dockerfile.debug b/test/extra/Dockerfile.debug
index e0af4033..3d577040 100644
--- a/test/extra/Dockerfile.debug
+++ b/test/extra/Dockerfile.debug
@@ -6,12 +6,12 @@
FROM registry.fedoraproject.org/fedora:34 AS build
ARG MOZJS_BRANCH=mozjs78
ARG MOZJS_BUILDDEPS=${MOZJS_BRANCH}
-ARG BUILD_OPTS=
+ARG BUILD_OPTS=AUTOCONF=autoconf
ENV SHELL=/bin/bash
RUN dnf -y install 'dnf-command(builddep)' autoconf213 clang-devel cmake git \
- llvm-devel make ninja-build which
+ llvm-devel make ninja-build which xz clang llvm rust
RUN dnf -y builddep ${MOZJS_BUILDDEPS}
WORKDIR /root
@@ -35,7 +35,7 @@ RUN mkdir -p mozjs/_build
WORKDIR /root/mozjs/_build
RUN ../js/src/configure --prefix=/usr --libdir=/usr/lib64 --disable-jemalloc \
- --with-system-zlib --with-intl-api --enable-debug AUTOCONF=autoconf \
+ --with-system-zlib --with-intl-api --enable-debug \
${BUILD_OPTS}
RUN make -j$(nproc)
RUN DESTDIR=/root/mozjs-install make install