File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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+ image_additional_mb : 5000
60+ commands : |
61+ export QT_INSTALLER_JWT_TOKEN=${{ secrets.QT_INSTALLER_JWT_TOKEN }}
62+ ./scripts/setup --shared
63+ ./scripts/configure -- -DBUILD_TESTING=ON
64+ cmake --build ./build --target package
65+ sudo cmake --install ./build
66+ ctest --test-dir ./build --verbose
67+ /opt/snapshot/snapshot_tests
68+ tar -xvf ./build/snapshot-*.tar.gz -C /tmp
69+ /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+ echo " Update apt database"
5+ sudo apt-get update -y
6+ sudo apt-get upgrade -y
7+
8+ echo " Installing build dependencies"
9+ sudo apt-get install -y clang ninja-build git cmake llvm pkg-config
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