Update SerialTest

This commit is contained in:
wh201906 2024-03-09 23:56:59 +08:00 committed by Licaon_Kter
parent 31013d7697
commit aa86dc73dd

View file

@ -392,7 +392,60 @@ Builds:
$CI_PROJECT_DIR/unsigned/; fi
ndk: r21e
- versionName: V0.3.4
versionCode: 34
commit: 43437441bffd1362164772b51229b96c98d2ea5a
sudo:
- apt-get update
- apt-get install -y build-essential wget
- rm -rf /opt/android-sdk/platforms
- sdkmanager "platforms;android-31"
output: fdroid-build/android-build/build/outputs/apk/release/android-build-release-unsigned.apk
build:
- mkdir -pv build-qt
- cd build-qt
- wget -cq https://download.qt.io/official_releases/qt/5.15/5.15.13/single/qt-everywhere-opensource-src-5.15.13.tar.xz
- echo "9550ec8fc758d3d8d9090e261329700ddcd712e2dda97e5fcfeabfac22bea2ca qt-everywhere-opensource-src-5.15.13.tar.xz"
| sha256sum -c -
- tar -xkf qt-everywhere-opensource-src-5.15.13.tar.xz
- rm -rf ./qt-everywhere-src-5.15.13/qtpurchasing/examples
- mkdir qt5
- mkdir build
- cd build
- export BUILD_JOBS=$((`nproc` + 1))
- ../qt-everywhere-src-5.15.13/configure -xplatform android-clang --disable-rpath
-no-warnings-are-errors -prefix $(pwd)/../qt5 -android-ndk $$NDK$$ -android-sdk
$$SDK$$ -opensource -confirm-license -release -nomake examples -nomake tests
-no-compile-examples -no-feature-testlib -skip qt3d -skip qtactiveqt -skip
qtcanvas3d -skip qtcharts -skip qtdatavis3d -skip qtdeclarative -skip qtdoc
-skip qtgamepad -skip qtgraphicaleffects -skip qtmacextras -skip qtmultimedia
-skip qtnetworkauth -skip qtpurchasing -skip qtquickcontrols -skip qtquickcontrols2
-skip qtremoteobjects -skip qtscxml -skip qtspeech -skip qtwayland -skip qtwebview
-skip qtwinextras -skip qtx11extras -skip qtwebengine -skip qtlocation -skip
qtlottie -skip qtquick3d -skip qtquicktimeline -skip qtscript -skip qtsensors
-skip qtserialbus -skip qttools -skip qtxmlpatterns -skip qtwebglplugin -skip
qtwebchannel -skip qtvirtualkeyboard -skip qttranslations
- if [ -n "${CI_PROJECT_DIR:-}" ]; then make -j$BUILD_JOBS >> $CI_PROJECT_DIR/tmp/qt_build.log
2>&1 || tail -n 200 $CI_PROJECT_DIR/tmp/qt_build.log; else make -j$BUILD_JOBS;
fi
- if [ -n "${CI_PROJECT_DIR:-}" ]; then make -j$BUILD_JOBS install >> $CI_PROJECT_DIR/tmp/qt_install.log
2>&1 || tail -n 200 $CI_PROJECT_DIR/tmp/qt_install.log; else make -j$BUILD_JOBS
install; fi
- cd ../../
- mkdir -pv fdroid-build
- cd fdroid-build
- wget -cq https://www.qcustomplot.com/release/2.1.1/QCustomPlot-source.tar.gz
- echo "5e2d22dec779db8f01f357cbdb25e54fbcf971adaee75eae8d7ad2444487182f QCustomPlot-source.tar.gz"
| sha256sum -c -
- tar -xvf QCustomPlot-source.tar.gz
- cp qcustomplot-source/qcustomplot.cpp ../src
- ../build-qt/qt5/bin/qmake ../src/
- make -j$BUILD_JOBS apk_install_target
- ../build-qt/qt5/bin/androiddeployqt --release --output android-build/ --input
android-SerialTest-deployment-settings.json
ndk: r21e
AutoUpdateMode: Version
UpdateCheckMode: Tags
CurrentVersion: V0.3.3
CurrentVersionCode: 33
CurrentVersion: V0.3.4
CurrentVersionCode: 34