File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111 - uses : actions/checkout@v2
1212
1313 - name : Install dependencies
14- run : sudo apt-get install -y libgrantlee5-dev
14+ run : sudo apt-get install -y libgrantlee5-dev qt5-default qtdeclarative5-dev-tools
1515
1616 - name : Lint test script
1717 run : shellcheck ./tests/test-plugins.sh
Original file line number Diff line number Diff line change 33set -eo pipefail
44
55repodir=" ${REPODIR:- " $( git rev-parse --show-toplevel) " } "
6- appdir=" ${APPDIR:- " $( mktemp --tmpdir --directory AppDir.XXXXXXXX) " } "
6+
7+ tempdir=" $( mktemp --tmpdir --directory linuxdeploy-misc-plugin-XXXXX) "
8+
9+ _cleanup () {
10+ [[ -d " $tempdir " ]] && rm -r " $tempdir "
11+ }
12+ trap _cleanup EXIT
13+
14+ # allow running plugins which require linuxdeploy internally
15+ pushd " $tempdir " & > /dev/null
16+ echo -e -n " \033[1mDownloading linuxdeploy and plugins...\033[0m"
17+ wget -qN https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage
18+ wget -qN https://github.com/linuxdeploy/linuxdeploy-plugin-qt/releases/download/continuous/linuxdeploy-plugin-qt-x86_64.AppImage
19+ chmod +x linuxdeploy*
20+ popd & > /dev/null
21+
22+ export LINUXDEPLOY=" $tempdir " /linuxdeploy-x86_64.AppImage
23+
24+ echo " done"
25+
26+ appdir=" ${APPDIR:- $tempdir / AppDir} "
727count=0
828failed=0
929
You can’t perform that action at this time.
0 commit comments