Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
7 changed files
with
50 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,26 +1,12 @@ | |||
#!/bin/bash | #!/bin/bash | ||
|
|
||
QTRPI_BASE_URL='http://www.qtrpi.com/downloads' | |||
|
|||
source ${0%/*}/utils/common.sh | source ${0%/*}/utils/common.sh | ||
|
|
||
# prepare environment | # prepare environment | ||
$UTILS_DIR/utils/init-common.sh | $UTILS_DIR/init-common.sh | ||
$UTILS_DIR/utils/synchronize-toolchain.sh | $UTILS_DIR/synchronize-toolchain.sh | ||
cd_root | cd_root | ||
|
|
||
# download and unzip sysroot | download_sysroot_minimal | ||
message 'Download sysroot-minimal' | download_qtrpi_binaries | ||
SYSROOT_ZIP=sysroot-minimal-latest.zip | |||
curl -o $SYSROOT_ZIP $QTRPI_BASE_URL/sysroot/qtrpi-sysroot-minimal-latest.zip | |||
unzip $SYSROOT_ZIP | |||
$UTILS_DIR/utils/switch-sysroot.sh minimal | |||
|
|||
# download qtrpi | |||
message 'Download qtrpi binaries' | |||
QTRPI_ZIP="qtrpi-${DEVICE_NAME}_qt-${QT_VERSION}.zip" | |||
curl -o $QTRPI_ZIP $QTRPI_BASE_URL/qtrpi/$DEVICE_NAME/$QTRPI_ZIP | |||
unzip $QTRPI_ZIP | |||
|
|
||
# create symlink | |||
ln -sf $ROOT/raspi/qt5/bin/qmake $ROOT/bin/qmake-qtrpi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,18 @@ | |||
#!/bin/bash | |||
|
|||
QTRPI_BASE_URL='http://www.qtrpi.com/downloads' | |||
|
|||
source ${0%/*}/utils/common.sh | |||
|
|||
export QTRPI_CURL_OPT="--user $CI_AUTH_USER:$CI_AUTH_PASSWORD" | |||
export QTRPI_BASE_URL="$CI_BASE_URL/job/qtrpi/QT_VERSION=$QTRPI_QT_VERSION,TARGET_DEVICE=$QTRPI_TARGET_DEVICE/lastSuccessfulBuild/artifact/dist" | |||
|
|||
pushd $ROOT | |||
download_qtrpi_binaries | |||
curl $QTRPI_CURL_OPT \ | |||
-o raspi/qt5pi/qopenglwidget \ | |||
$QTRPI_BASE_URL/qopenglwidget | |||
popd | |||
|
|||
./deploy-qtrpi.sh --prepare-rpi | |||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters