Skip to content

Commit 6fe2406

Browse files
committed
Test python2.7 in dist-x86_64-illumos
1 parent 3303615 commit 6fe2406

File tree

1 file changed

+3
-2
lines changed
  • src/ci/docker/host-x86_64/dist-x86_64-illumos

1 file changed

+3
-2
lines changed

src/ci/docker/host-x86_64/dist-x86_64-illumos/Dockerfile

+3-2
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,13 @@ RUN sed -i 's/^# deb-src/deb-src/' /etc/apt/sources.list
66
COPY scripts/cross-apt-packages.sh /tmp/
77
RUN bash /tmp/cross-apt-packages.sh
88

9-
# Required for cross-build gcc
9+
# Required for cross-build gcc, and we install python2 to test general compatibility.
1010
RUN apt-get update && \
1111
apt-get install -y --no-install-recommends \
1212
libgmp-dev \
1313
libmpfr-dev \
1414
libmpc-dev \
15+
python2.7 \
1516
&& rm -rf /var/lib/apt/lists/*
1617

1718
COPY scripts/illumos-toolchain.sh /tmp/
@@ -35,4 +36,4 @@ ENV \
3536
ENV HOSTS=x86_64-unknown-illumos
3637

3738
ENV RUST_CONFIGURE_ARGS --enable-extended --disable-docs
38-
ENV SCRIPT python3 ../x.py dist --host $HOSTS --target $HOSTS
39+
ENV SCRIPT python2.7 ../x.py dist --host $HOSTS --target $HOSTS

0 commit comments

Comments
 (0)