File tree Expand file tree Collapse file tree 6 files changed +12
-9
lines changed Expand file tree Collapse file tree 6 files changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -16,12 +16,12 @@ jobs:
16
16
- macos-13
17
17
opencv-version :
18
18
- 3.4.20
19
- - 4.9 .0
19
+ - 4.10 .0
20
20
linkage :
21
21
- dynamic
22
22
include :
23
23
- os-image : ubuntu-22.04
24
- opencv-version : 4.9 .0
24
+ opencv-version : 4.10 .0
25
25
linkage : static
26
26
runs-on : ${{ matrix.os-image }}
27
27
env :
67
67
- windows-2022
68
68
- macos-14
69
69
vcpkg-version :
70
- - 2024.04.26
70
+ - 2024.07.12
71
71
runs-on : ${{ matrix.os-image }}
72
72
env :
73
73
VCPKG_VERSION : ${{ matrix.vcpkg-version }}
@@ -102,7 +102,7 @@ jobs:
102
102
- windows-2022
103
103
version :
104
104
- opencv : 3.4.16
105
- - opencv : 4.9 .0
105
+ - opencv : 4.10 .0
106
106
include :
107
107
- os-image : ubuntu-22.04
108
108
version :
@@ -149,7 +149,7 @@ jobs:
149
149
msrv :
150
150
runs-on : ubuntu-20.04
151
151
env :
152
- OPENCV_VERSION : 4.9 .0
152
+ OPENCV_VERSION : 4.10 .0
153
153
SCCACHE_GHA_ENABLED : " true"
154
154
RUSTC_WRAPPER : " sccache"
155
155
CMAKE_C_COMPILER_LAUNCHER : " sccache"
Original file line number Diff line number Diff line change 10
10
sudo apt-get update
11
11
sudo apt-get install -y clang libharfbuzz0b git curl zip unzip tar bison gperf libx11-dev libxft-dev libxext-dev \
12
12
libgles2-mesa-dev autoconf libtool build-essential libxrandr-dev libxi-dev libxcursor-dev libxdamage-dev libxinerama-dev \
13
- libdbus-1-dev libxtst-dev sudo
13
+ libdbus-1-dev libxtst-dev sudo python3-jinja2 cmake
14
14
15
15
# workaround to make clang_sys crate detect installed libclang
16
16
sudo ln -fs libclang.so.1 /usr/lib/llvm-14/lib/libclang.so
17
17
18
18
export VCPKG_ROOT=" $HOME /build/vcpkg"
19
+ export VCPKG_DISABLE_METRICS=1
19
20
if [[ -e " $VCPKG_ROOT " && ! -e " $VCPKG_ROOT /.git" ]]; then
20
21
rm -rf " $VCPKG_ROOT "
21
22
fi
Original file line number Diff line number Diff line change @@ -136,12 +136,12 @@ BUILD_FLAGS="
136
136
sudo apt-get -y install build-essential cmake
137
137
138
138
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)
139
140
BUILD_FLAGS=" $BUILD_FLAGS
140
141
-D BUILD_JPEG=ON
141
142
-D BUILD_OPENJPEG=ON
142
143
-D BUILD_PNG=ON
143
144
-D BUILD_SHARED_LIBS=OFF
144
- -D BUILD_TBB=ON
145
145
-D BUILD_TIFF=ON
146
146
-D BUILD_WEBP=ON
147
147
-D BUILD_ZLIB=ON
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ rm -rf "$VCPKG_INSTALLATION_ROOT"
9
9
choco install -y llvm --version " $CHOCO_LLVM_VERSION "
10
10
11
11
export VCPKG_ROOT=" $HOME /build/vcpkg"
12
+ export VCPKG_DISABLE_METRICS=1
12
13
if [[ -e " $VCPKG_ROOT " && ! -e " $VCPKG_ROOT /.git" ]]; then
13
14
rm -rf " $VCPKG_ROOT "
14
15
fi
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ elif [[ "$OS_FAMILY" == "macOS" ]]; then
21
21
" $ci_dir /install-macos-framework.sh"
22
22
fi
23
23
elif [[ " $OS_FAMILY " == " Windows" ]]; then
24
- export CHOCO_LLVM_VERSION=18.1.6
24
+ export CHOCO_LLVM_VERSION=18.1.8
25
25
if [[ " ${VCPKG_VERSION:- } " != " " ]]; then # vcpkg build
26
26
" $ci_dir /install-windows-vcpkg.sh"
27
27
else # chocolatey build
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ elif [[ "$OS_FAMILY" == "macOS" ]]; then
24
24
export DYLD_FALLBACK_LIBRARY_PATH=" $toolchain_path /usr/lib/"
25
25
if [[ " ${VCPKG_VERSION:- } " != " " ]]; then # vcpkg build
26
26
export VCPKG_ROOT=" $HOME /build/vcpkg"
27
+ export VCPKG_DISABLE_METRICS=1
27
28
echo " === Installed vcpkg packages:"
28
29
" $VCPKG_ROOT /vcpkg" list
29
30
elif [[ " ${BREW_OPENCV_VERSION:- } " != " " ]]; then # brew build
@@ -49,7 +50,7 @@ elif [[ "$OS_FAMILY" == "Linux" ]]; then
49
50
fi
50
51
51
52
# remove tests and examples that require the latest OpenCV version so that they don't fail due to missing modules
52
- if [[ " ${OPENCV_VERSION:- } " != " 4.9 .0" ]]; then
53
+ if [[ " ${OPENCV_VERSION:- } " != " 4.10 .0" ]]; then
53
54
rm -vf tests/* _only_latest_opencv.rs
54
55
rm -vf examples/dnn_face_detect.rs examples/text_detection.rs
55
56
fi
You can’t perform that action at this time.
0 commit comments