Compare commits

..

No commits in common. "5132e0930ac64962cde98d86ec71540fde79fcfe" and "4e58435794d3c33d62f7408009a2df2a8ecb930b" have entirely different histories.

2 changed files with 1 additions and 26 deletions

View file

@ -59,6 +59,4 @@ RUN echo "**** setup environment ****" && \
ENV PATH="${PATH}:/usr/lib/qt/bin:/usr/lib/jvm/java-8-openjdk-amd64/bin" ENV PATH="${PATH}:/usr/lib/qt/bin:/usr/lib/jvm/java-8-openjdk-amd64/bin"
WORKDIR /src WORKDIR /src
entrypoint ["bash"]
COPY "qt-build" "/usr/local/bin/qt-build"
entrypoint ["/usr/local/bin/qt-build"]

View file

@ -1,23 +0,0 @@
#!/bin/bash
set -e
[[ -z "${PLUGIN_QMAKE_ARGUMENTS}" ]] && QMAKE_ARGUMENTS=$1 || QMAKE_ARGUMENTS="${PLUGIN_QMAKE_ARGUMENTS}"
[[ -z "${PLUGIN_ANDROIDDEPLOYQT_ARGUMENTS}" ]] && ANDROIDDEPLOYQT_ARGUMENTS=$2 || ANDROIDDEPLOYQT_ARGUMENTS="${PLUGIN_ANDROIDDEPLOYQT_ARGUMENTS}"
echo "**** prepare ****"
rm -rf /build
mkdir -p /build
cd /build
echo "**** qmake ****"
qmake $QMAKE_ARGUMENTS /src
echo "**** build native code ****"
make -j8
make INSTALL_ROOT=/build/android-build install
echo "**** android build ****"
androiddeployqt --input $(ls -1 /build/android-*-deployment-settings.json) --output /build/android-build --gradle $ANDROIDDEPLOYQT_ARGUMENTS
echo "**** finish up ****"
mv /build/android-build//build/outputs /src/outputs