Debian Codegraph @

.gitlab-ci/container/debian/x86_64_test-video.sh

raw symbols SCIP
1 #!/usr/bin/envscip-shell filesystem . . `/usr/bin/env`. bash
2 # The relative paths in this file only become valid at runtime.
3 # shellcheck disable=SC1091
4 #
5 # When changing this file, you need to bump the following
6 # .gitlab-ci/image-tags.yml tags:
7 # DEBIAN_TEST_VIDEO_TAG
8
9 set -e
10
11 . .gitlab-ci/setup-test-env.shscip-shell source . . `.gitlab-ci/setup-test-env.sh`.
12
13 set -o xtrace
14
15 section_start debian_setup "Base Debian system setup"
16
17 export DEBIAN_FRONTEND=noninteractive
18
19 apt-getscip-shell system . . apt-get. install -y gstreamer1.0-vaapi # This interferes with systemd deps, install separately
20
21 # Ephemeral packages (installed for this script and removed again at the end)
22 EPHEMERAL=(
23 g++
24 libdrm-dev
25 libva-dev
26 meson
27 pkgconf
28 )
29
30 DEPS=(
31 gstreamer1.0-plugins-bad
32 gstreamer1.0-plugins-base
33 gstreamer1.0-plugins-good
34 gstreamer1.0-plugins-ugly
35 gstreamer1.0-tools
36 libgstreamer1.0-0
37 libva-drm2
38 libva-wayland2
39 libva2
40 )
41
42 apt-getscip-shell system . . apt-get. update
43
44 apt-getscip-shell system . . apt-get. install -y --no-remove --no-install-recommends \
45 "${DEPS[@]}" "${EPHEMERAL[@]}" "${EXTRA_LOCAL_PACKAGES:-}"
46
47 . .gitlab-ci/container/container_pre_build.shscip-shell source . . `.gitlab-ci/container/container_pre_build.sh`.
48
49 section_end debian_setup
50
51 ############### Build libva tests
52
53 . .gitlab-ci/container/build-va-tools.shscip-shell source . . `.gitlab-ci/container/build-va-tools.sh`.
54
55 ############### Install Fluster
56
57 . .gitlab-ci/container/build-fluster.shscip-shell source . . `.gitlab-ci/container/build-fluster.sh`.
58
59 ############### Uninstall the build software
60
61 section_switch debian_cleanup "Cleaning up base Debian system"
62
63 apt-getscip-shell system . . apt-get. purge -y "${EPHEMERAL[@]}"
64
65 . .gitlab-ci/container/container_post_build.shscip-shell source . . `.gitlab-ci/container/container_post_build.sh`.
66
67 section_end debian_cleanup
68
69 ############### Remove unused packages
70
71 . .gitlab-ci/container/strip-rootfs.shscip-shell source . . `.gitlab-ci/container/strip-rootfs.sh`.