@@ -121,60 +121,6 @@ jobs:
121121 - name : Test BLAS bindings
122122 run : build_blas_bindings/dtest --runall -q
123123
124- ubuntu-20_04-gcc-7 :
125- runs-on : ' ubuntu-20.04'
126- steps :
127- - uses : actions/checkout@v2
128-
129- - name : Install dependencies
130- run : |
131- sudo apt update
132- sudo apt install libwebp-dev make yasm
133-
134- - name : Install gcc 7
135- run : |
136- sudo apt install gcc-7 g++-7
137-
138- - name : Cache FFmpeg 3.2.18
139- uses : actions/cache@v3
140- id : cache-ffmpeg3
141- with :
142- path : /home/runner/ffmpeg-n3.2.18_installation
143- key : ffmpeg-n3.2.18_try1
144-
145- - name : Build FFmpeg 3.2.18
146- if : steps.cache-ffmpeg3.outputs.cache-hit != 'true'
147- run : |
148- wget https://github.com/FFmpeg/FFmpeg/archive/refs/tags/n3.2.18.tar.gz
149- tar -xf n3.2.18.tar.gz
150- cd FFmpeg-n3.2.18
151- ./configure --prefix=/home/runner/ffmpeg-n3.2.18_installation --disable-doc --disable-programs
152- make -j4
153- make install
154- cd ..
155-
156- - name : Configure
157- run : |
158- export CC=/usr/bin/gcc-7
159- export CXX=/usr/bin/g++-7
160- cmake ${{ github.workspace }}/dlib/test -B build -DCMAKE_PREFIX_PATH=/home/runner/ffmpeg-n3.2.18_installation
161-
162- - name : Build just tests
163- run : cmake --build build --config Release --target dtest --parallel 4
164-
165- - name : Test
166- run : build/dtest --runall -q
167-
168- - name : Build examples, etc
169- run : cmake --build build --config Release --parallel 2
170-
171- # Test cmake scrips can build standalone dlib as a shared library
172- - name : Configure dlib as shared library
173- run : cmake ${{ github.workspace }}/dlib -B build_dlib_shared -DBUILD_SHARED_LIBS=1 -DCMAKE_PREFIX_PATH=/home/runner/ffmpeg-n3.2.18_installation
174-
175- - name : Build dlib as shared library
176- run : cmake --build build_dlib_shared --parallel 4
177-
178124 ubuntu-latest-clang-default-avx :
179125 runs-on : ' ubuntu-latest'
180126 steps :
0 commit comments