File tree Expand file tree Collapse file tree 2 files changed +49
-6
lines changed
Expand file tree Collapse file tree 2 files changed +49
-6
lines changed Original file line number Diff line number Diff line change @@ -12,20 +12,20 @@ jobs:
1212 fail-fast : false
1313 matrix :
1414 os-image :
15- - ubuntu-22 .04
15+ - ubuntu-24 .04
1616 - macos-14
1717 opencv-version :
1818 - 4.11.0
1919 linkage :
2020 - dynamic
2121 include :
22- - os-image : ubuntu-22 .04
22+ - os-image : ubuntu-24 .04
2323 opencv-version : 4.11.0
2424 linkage : static
25- - os-image : ubuntu-22 .04
25+ - os-image : ubuntu-24 .04
2626 opencv-version : 5.0.0-alpha
2727 linkage : dynamic
28- - os-image : ubuntu-22 .04
28+ - os-image : ubuntu-24 .04
2929 opencv-version : 3.4.20
3030 linkage : dynamic
3131 - os-image : macos-13
6767 fail-fast : false
6868 matrix :
6969 os-image :
70- - ubuntu-22 .04
70+ - ubuntu-24 .04
7171 - windows-2022
7272 - macos-14
7373 vcpkg-version :
@@ -104,6 +104,9 @@ jobs:
104104 - opencv : 3.4.16
105105 - opencv : 4.10.0
106106 include :
107+ - os-image : ubuntu-24.04
108+ version :
109+ opencv : 4.6.0
107110 - os-image : ubuntu-22.04
108111 version :
109112 opencv : 4.5.4
@@ -133,7 +136,7 @@ jobs:
133136 shell : bash
134137
135138 docs-rs :
136- runs-on : ubuntu-22 .04
139+ runs-on : ubuntu-24 .04
137140 steps :
138141 - uses : actions/checkout@v4
139142 - uses : dtolnay/rust-toolchain@stable
Original file line number Diff line number Diff line change @@ -30,6 +30,13 @@ case "$ubuntu_version" in
3030 exit 0
3131 fi
3232 ;;
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+ ;;
3340esac
3441
3542BUILD_FLAGS="
@@ -256,6 +263,39 @@ else # dynamic build
256263 libwebp-dev \
257264 qtbase5-dev
258265 ;;
266+
267+ " 24.04" )
268+ # runtime deps
269+ sudo apt-get -y install \
270+ libatlas3-base \
271+ libavcodec60 \
272+ libavformat60 \
273+ libceres4t64 \
274+ libdc1394-25 \
275+ libfreetype6 \
276+ libgdal34t64 \
277+ libgflags2.2 \
278+ libgoogle-glog0v6t64 \
279+ libgphoto2-6 \
280+ libgstreamer-plugins-base1.0-0 \
281+ libharfbuzz0b \
282+ libhdf5-cpp-103-1t64 \
283+ libjpeg8 \
284+ liblapacke \
285+ liblept5 \
286+ libopenexr-3-1-30 \
287+ libpng16-16t64 \
288+ libqt5core5a \
289+ libqt5gui5 \
290+ libqt5opengl5 \
291+ libqt5test5 \
292+ libqt5widgets5 \
293+ libswscale7 \
294+ libtbb12 \
295+ libtesseract5 \
296+ libvtk9.1t64 \
297+ libwebp7
298+ ;;
259299 esac
260300fi
261301
You can’t perform that action at this time.
0 commit comments