File tree Expand file tree Collapse file tree 4 files changed +45
-4
lines changed
Expand file tree Collapse file tree 4 files changed +45
-4
lines changed Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - main
7+ - develop
78
89 pull_request :
910 branches :
1415 run-tests :
1516 runs-on : ubuntu-22.04
1617 strategy :
17-
1818 matrix :
1919 flag : [--static, --shared]
2020
@@ -23,13 +23,12 @@ jobs:
2323 uses : actions/checkout@v4
2424
2525 - name : Install dependencies
26- env :
26+ env :
2727 QT_INSTALLER_JWT_TOKEN : ${{ secrets.QT_INSTALLER_JWT_TOKEN }}
2828 run : |
2929 echo "With flag ${{ matrix.flag }}"
3030 ./scripts/setup ${{ matrix.flag }}
3131
32-
3332 - name : Build project
3433 run : |
3534 ./scripts/configure -- -DBUILD_TESTING=ON
4847 run : |
4948 tar -xvf ./build/snapshot-*.tar.gz -C /tmp
5049 /tmp/snapshot-*/snapshot_tests
50+
51+ run-arm-tests :
52+ runs-on : ubuntu-latest
53+ env :
54+ QT_INSTALLER_JWT_TOKEN : ${{ secrets.QT_INSTALLER_JWT_TOKEN }}
55+ steps :
56+ - uses : actions/checkout@v2
57+ - uses : pguyot/arm-runner-action@v2
58+ with :
59+ commands : |
60+ export QT_INSTALLER_JWT_TOKEN=${{ secrets.QT_INSTALLER_JWT_TOKEN }}
61+ ./scripts/setup-rpi
62+ ./scripts/configure -- -DBUILD_TESTING=ON
63+ cmake --build ./build --target package
64+ sudo cmake --install ./build
65+ ctest --test-dir ./build --verbose
66+ /opt/snapshot/snapshot_tests
67+ tar -xvf ./build/snapshot-*.tar.gz -C /tmp
68+ /tmp/snapshot-*/snapshot_tests
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+ set -euo pipefail
3+
4+ sudo apt-get update -y
5+ sudo apt-get upgrade -y
6+ sudo apt-get install "^libxcb.*" bison build-essential clang cmake firebird-dev flex freeglut3-dev freetds-dev gcc git gperf gstreamer1.0-alsa gstreamer1.0-omx libasound2-dev libatkmm-1.6-dev libatspi2.0-dev libaudio-dev libavcodec-dev libavformat-dev libboost-all-dev libbz2-dev libcap-dev libclang-dev libcups2-dev libdbus-1-dev libdirectfb-dev libdrm-dev libegl1-mesa-dev libfontconfig1-dev libfreetype6-dev libgbm-dev libgl1-mesa-dev libgles2-mesa-dev libglib2.0-dev libglu1-mesa-dev libgst-dev libgstreamer-plugins-base1.0-dev libgstreamer1.0-dev libicu-dev libinput-dev libiodbc2-dev libjpeg-dev libmtdev-dev libnss3-dev libpci-dev libpq-dev libpulse-dev libsnappy-dev libsqlite3-dev libsqlite3-dev libsrtp2-dev libssl-dev libswscale-dev libts-dev libudev-dev libvpx-dev libx11-dev libx11-xcb-dev libx11-xcb1 libxcb-glx0-dev libxcb-icccm4 libxcb-icccm4-dev libxcb-image0 libxcb-image0-dev libxcb-keysyms1 libxcb-keysyms1-dev libxcb-randr0-dev libxcb-render-util0 libxcb-render-util0-dev libxcb-shape0-dev libxcb-shm0 libxcb-shm0-dev libxcb-sync-dev libxcb-sync1 libxcb-util-dev libxcb-xfixes0-dev libxcb-xinerama0 libxcb-xinerama0-dev libxcb-xkb-dev libxcb1 libxcb1-dev libxcomposite-dev libxcomposite1 libxcursor-dev libxdamage-dev libxext-dev libxfixes-dev libxi-dev libxi6 libxkbcommon-dev libxkbcommon-x11-dev libxrandr-dev libxrender-dev libxslt-dev libxslt1-dev libxss-dev libxtst-dev make mesa-common-dev ninja-build pkg-config python3 ruby
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ arch=" $( uname -m) "
4+ case " $arch " in
5+ arm* | aarch64)
6+ exit 0
7+ ;;
8+ * )
9+ exit 1
10+ ;;
11+ esac
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22set -euo pipefail
33
4+ this_dir=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " > /dev/null 2>&1 && pwd) "
5+
46if command -v apt & > /dev/null; then
5- echo " apt"
7+ if " ${this_dir} " /apt_rpi/is_rpi; then
8+ echo " apt-rpi"
9+ else
10+ echo " apt"
11+ fi
612elif command -v pacman & > /dev/null; then
713 echo " pacman"
814else
You can’t perform that action at this time.
0 commit comments