summaryrefslogtreecommitdiff
path: root/integration-tests.sh
blob: dac6e03a157a0673bd6c8398bd9dd2d45ffc14c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/bin/bash

## $1 branch
## $2 remote (Default to 'upstream : libcamera.org/internal')

BRANCH=$1
REMOTE=${2:-upstream}

source common.sh

echo "Using Remote $REMOTE and branch $BRANCH"
./set-libcamera-branch.sh $REMOTE $BRANCH

$NOTIFY "Starting integration tests on $REMOTE:$BRANCH"

pass_fail $? "Merged branch $BRANCH"

echo "Validate checkstyle on the branch"
./pre-merge-05-checkstyle.sh

echo "Building the matrix..."
./10-build-matrix.sh
validate_version $(srcdir libcamera) build-matrix
pass_fail $? "Completed the matrix"

echo "Building for unit tests..."
./50-build-unit-tests.sh

echo "Running unit tests..."
./51-run-unit-tests.sh

echo "Validating installation/packaging..."
./52-package.sh

echo "Validate with Simple-cam"
./60-simple-cam.sh

echo "Validate build of the Intel IPU3 IPA"
./61-ipu3-ipa.sh