@@ -22,39 +22,39 @@ jobs:
22
22
runs-on : [linux, bullseye]
23
23
24
24
steps :
25
- - uses : actions/checkout@v3
26
- with :
27
- submodules : ' recursive '
28
-
29
- - name : Install dependencies
30
- run : |
31
- sudo apt-get install -y \
32
- git cmake libgl1-mesa-dev libgles2-mesa-dev libegl1-mesa-dev libdrm-dev libgbm-dev \
33
- ttf-mscorefonts-installer fontconfig libsystemd-dev libinput-dev libudev-dev \
34
- libxkbcommon-dev ninja-build libgstreamer-plugins-base1.0-dev
25
+ - name : Install dependencies
26
+ run : |
27
+ sudo apt-get install -y \
28
+ git cmake libgl1-mesa-dev libgles2-mesa-dev libegl1-mesa-dev libdrm-dev libgbm-dev \
29
+ ttf-mscorefonts-installer fontconfig libsystemd-dev libinput-dev libudev-dev \
30
+ libxkbcommon-dev ninja-build libgstreamer-plugins-base1.0-dev
31
+
32
+ - uses : actions/checkout@v3
33
+ with :
34
+ submodules : ' recursive '
35
35
36
- - name : Configure CMake
37
- # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
38
- # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
39
- run : |
40
- cmake \
41
- -B ${{github.workspace}}/build \
42
- -DBUILD_OMXPLAYER_VIDEO_PLAYER_PLUGIN=On \
43
- -DBUILD_GSTREAMER_AUDIO_PLAYER_PLUGIN=On \
44
- -DBUILD_GSTREAMER_VIDEO_PLAYER_PLUGIN=On \
45
- -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \
46
- -DENABLE_TESTS=On \
47
- -GNinja
36
+ - name : Configure CMake
37
+ # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
38
+ # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
39
+ run : |
40
+ cmake \
41
+ -B ${{github.workspace}}/build \
42
+ -DBUILD_OMXPLAYER_VIDEO_PLAYER_PLUGIN=On \
43
+ -DBUILD_GSTREAMER_AUDIO_PLAYER_PLUGIN=On \
44
+ -DBUILD_GSTREAMER_VIDEO_PLAYER_PLUGIN=On \
45
+ -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \
46
+ -DENABLE_TESTS=On \
47
+ -GNinja
48
48
49
- - name : Build
50
- # Build your program with the given configuration
51
- run : cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
49
+ - name : Build
50
+ # Build your program with the given configuration
51
+ run : cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
52
52
53
- - name : Test
54
- working-directory : ${{github.workspace}}/build
55
- # Execute tests defined by the CMake configuration.
56
- # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
57
- run : ctest -C ${{env.BUILD_TYPE}}
53
+ - name : Test
54
+ working-directory : ${{github.workspace}}/build
55
+ # Execute tests defined by the CMake configuration.
56
+ # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
57
+ run : ctest -C ${{env.BUILD_TYPE}}
58
58
59
59
build-buster :
60
60
name : build (debian buster, x64)
@@ -64,17 +64,17 @@ jobs:
64
64
env :
65
65
DEBIAN_FRONTEND : noninteractive
66
66
steps :
67
- - uses : actions/checkout@v3
68
- with :
69
- submodules : ' recursive'
70
-
71
67
- name : Install dependencies
72
68
run : |
73
69
apt-get update && apt-get install -y \
74
70
git cmake libgl1-mesa-dev libgles2-mesa-dev libegl1-mesa-dev libdrm-dev libgbm-dev \
75
71
fonts-liberation fontconfig libsystemd-dev libinput-dev libudev-dev \
76
72
libxkbcommon-dev ninja-build libgstreamer-plugins-base1.0-dev
77
73
74
+ - uses : actions/checkout@v3
75
+ with :
76
+ submodules : ' recursive'
77
+
78
78
- name : Configure CMake
79
79
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
80
80
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
0 commit comments