Skip to content
Snippets Groups Projects
Commit 5ddfad54 authored by Johan Helsing's avatar Johan Helsing
Browse files

Build qtbase and qtwayland tests in separate layers

parent bea486bb
No related branches found
No related tags found
No related merge requests found
...@@ -22,11 +22,19 @@ RUN echo "build ALL=(ALL) NOPASSWD: ALL" | tee -a /etc/sudoers ...@@ -22,11 +22,19 @@ RUN echo "build ALL=(ALL) NOPASSWD: ALL" | tee -a /etc/sudoers
USER build USER build
WORKDIR /home/build/ WORKDIR /home/build/
ENV MAKEFLAGS=-j9
COPY clone-qt.sh /home/build COPY clone-qt.sh /home/build
RUN ./clone-qt.sh RUN ./clone-qt.sh
ENV MAKEFLAGS=-j8
COPY build-qt.sh /home/build COPY build-qt.sh /home/build
RUN ./build-qt.sh RUN ./build-qt.sh
COPY build-qtbase-tests.sh /home/build
RUN ./build-qtbase-tests.sh
COPY build-qtwayland-tests.sh /home/build
RUN ./build-qtwayland-tests.sh
ENV XDG_RUNTIME_DIR=/tmp ENV XDG_RUNTIME_DIR=/tmp
ENV QT_QPA_PLATFORM=wayland ENV QT_QPA_PLATFORM=wayland
COPY test-qt.sh /home/build COPY test-qt.sh /home/build
......
...@@ -10,5 +10,6 @@ cd build-qt ...@@ -10,5 +10,6 @@ cd build-qt
-no-feature-vnc \ -no-feature-vnc \
-no-linuxfb \ -no-linuxfb \
-nomake examples \ -nomake examples \
-nomake tests \
-feature-wayland-client -feature-wayland-client
time make module-qtwayland time make -ks module-qtwayland
#!/bin/bash
set -ex
cd ~/build-qt/qtbase
make sub-tests
#!/bin/bash
set -ex
cd ~/build-qt/qtwayland
make sub-tests
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment