File tree Expand file tree Collapse file tree 2 files changed +49
-7
lines changed Expand file tree Collapse file tree 2 files changed +49
-7
lines changed Original file line number Diff line number Diff line change @@ -12,20 +12,20 @@ jobs:
12
12
fail-fast : false
13
13
matrix :
14
14
os-image :
15
- - ubuntu-22 .04
15
+ - ubuntu-24 .04
16
16
- macos-14
17
17
opencv-version :
18
18
- 4.11.0
19
19
linkage :
20
20
- dynamic
21
21
include :
22
- - os-image : ubuntu-22 .04
22
+ - os-image : ubuntu-24 .04
23
23
opencv-version : 4.11.0
24
24
linkage : static
25
- - os-image : ubuntu-22 .04
25
+ - os-image : ubuntu-24 .04
26
26
opencv-version : 5.0.0-alpha
27
27
linkage : dynamic
28
- - os-image : ubuntu-22 .04
28
+ - os-image : ubuntu-24 .04
29
29
opencv-version : 3.4.20
30
30
linkage : dynamic
31
31
- os-image : macos-13
67
67
fail-fast : false
68
68
matrix :
69
69
os-image :
70
- - ubuntu-22 .04
70
+ - ubuntu-24 .04
71
71
- windows-2022
72
72
- macos-14
73
73
vcpkg-version :
@@ -104,6 +104,9 @@ jobs:
104
104
- opencv : 3.4.16
105
105
- opencv : 4.10.0
106
106
include :
107
+ - os-image : ubuntu-24.04
108
+ version :
109
+ opencv : 4.6.0
107
110
- os-image : ubuntu-22.04
108
111
version :
109
112
opencv : 4.5.4
@@ -133,7 +136,7 @@ jobs:
133
136
shell : bash
134
137
135
138
docs-rs :
136
- runs-on : ubuntu-22 .04
139
+ runs-on : ubuntu-24 .04
137
140
steps :
138
141
- uses : actions/checkout@v4
139
142
- uses : dtolnay/rust-toolchain@stable
Original file line number Diff line number Diff line change @@ -30,6 +30,13 @@ case "$ubuntu_version" in
30
30
exit 0
31
31
fi
32
32
;;
33
+
34
+ " 24.04" )
35
+ if [[ " $OPENCV_VERSION " == " 4.6.0" ]]; then
36
+ sudo apt-get -y install " libopencv-dev=${OPENCV_VERSION} *"
37
+ exit 0
38
+ fi
39
+ ;;
33
40
esac
34
41
35
42
BUILD_FLAGS="
@@ -136,7 +143,6 @@ BUILD_FLAGS="
136
143
sudo apt-get -y install build-essential cmake
137
144
138
145
if [[ " ${OPENCV_LINKAGE:- dynamic} " == " static" ]]; then # static build
139
- # bring back -D BUILD_TBB=ON when updated to Ubuntu-24.04 (https://github.com/opencv/opencv/issues/25187)
140
146
BUILD_FLAGS=" $BUILD_FLAGS
141
147
-D BUILD_JPEG=ON
142
148
-D BUILD_OPENJPEG=ON
@@ -157,6 +163,7 @@ if [[ "${OPENCV_LINKAGE:-dynamic}" == "static" ]]; then # static build
157
163
-D WITH_LAPACK=OFF
158
164
-D WITH_OPENGL=OFF
159
165
-D WITH_QT=OFF
166
+ -D BUILD_TBB=ON
160
167
"
161
168
else # dynamic build
162
169
case " $ubuntu_version " in
@@ -256,6 +263,38 @@ else # dynamic build
256
263
libwebp-dev \
257
264
qtbase5-dev
258
265
;;
266
+
267
+ " 24.04" )
268
+ # runtime deps
269
+ sudo apt-get -y install \
270
+ libatlas-base-dev \
271
+ libavcodec-dev \
272
+ libavformat-dev \
273
+ libceres-dev \
274
+ libdc1394-dev \
275
+ libeigen3-dev \
276
+ libfreetype6-dev \
277
+ libgdal-dev \
278
+ libgflags-dev \
279
+ libgoogle-glog-dev \
280
+ libgphoto2-dev \
281
+ libgstreamer-plugins-base1.0-dev \
282
+ libharfbuzz-dev \
283
+ libhdf5-dev \
284
+ libjpeg-dev \
285
+ liblapacke64-dev \
286
+ libleptonica-dev \
287
+ libopenexr-dev \
288
+ libpng-dev \
289
+ libswscale-dev \
290
+ libtbb-dev \
291
+ libtesseract-dev \
292
+ libtiff-dev \
293
+ libunwind-dev \
294
+ libvtk9-dev \
295
+ libwebp-dev \
296
+ qtbase5-dev
297
+ ;;
259
298
esac
260
299
fi
261
300
You can’t perform that action at this time.
0 commit comments