Skip to content

Commit 665d99d

Browse files
authored
Switched ARM CI builds to Ubuntu 24.04. (#278)
* Switched ARM CI builds to Ubuntu 24.04. * Added missing warnings parsing script.
1 parent 80f83f1 commit 665d99d

9 files changed

+111
-12
lines changed

.github/workflows/OCV-Contrib-PR-4.x-ARM64-FastCV.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
run:
3636
shell: bash
3737
container:
38-
image: quay.io/opencv-ci/opencv-ubuntu-20.04-arm64:20251015
38+
image: quay.io/opencv-ci/opencv-ubuntu-24.04-arm64:20251124
3939
volumes:
4040
- /home/opencv-cn/git_cache:/home/ci/git_cache
4141
- /home/opencv-cn/ci_cache/opencv_contrib:/home/ci/.ccache

.github/workflows/OCV-Contrib-PR-4.x-ARM64.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
run:
3636
shell: bash
3737
container:
38-
image: quay.io/opencv-ci/opencv-ubuntu-20.04-arm64:20251015
38+
image: quay.io/opencv-ci/opencv-ubuntu-24.04-arm64:20251124
3939
volumes:
4040
- /home/opencv-cn/git_cache:/home/ci/git_cache
4141
- /home/opencv-cn/ci_cache/opencv_contrib:/home/ci/.ccache

.github/workflows/OCV-Contrib-PR-5.x-ARM64-FastCV.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
run:
3535
shell: bash
3636
container:
37-
image: quay.io/opencv-ci/opencv-ubuntu-20.04-arm64:20230413
37+
image: quay.io/opencv-ci/opencv-ubuntu-24.04-arm64:20251124
3838
volumes:
3939
- /home/opencv-cn/git_cache:/home/ci/git_cache
4040
- /home/opencv-cn/ci_cache/opencv_contrib:/home/ci/.ccache

.github/workflows/OCV-Contrib-PR-5.x-ARM64.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
run:
3535
shell: bash
3636
container:
37-
image: quay.io/opencv-ci/opencv-ubuntu-20.04-arm64:20230413
37+
image: quay.io/opencv-ci/opencv-ubuntu-24.04-arm64:20251124
3838
volumes:
3939
- /home/opencv-cn/git_cache:/home/ci/git_cache
4040
- /home/opencv-cn/ci_cache/opencv_contrib:/home/ci/.ccache

.github/workflows/OCV-PR-4.x-ARM64-Debug.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
run:
3535
shell: bash
3636
container:
37-
image: quay.io/opencv-ci/opencv-ubuntu-20.04-arm64:20251015
37+
image: quay.io/opencv-ci/opencv-ubuntu-24.04-arm64:20251124
3838
volumes:
3939
- /home/opencv-cn/git_cache:/home/ci/git_cache
4040
- /home/opencv-cn/ci_cache/opencv:/home/ci/.ccache
@@ -206,7 +206,7 @@ jobs:
206206
run:
207207
shell: bash
208208
container:
209-
image: quay.io/opencv-ci/opencv-ubuntu-20.04-arm64:20230413
209+
image: quay.io/opencv-ci/opencv-ubuntu-24.04-arm64:20251124
210210
volumes:
211211
- /home/opencv-cn/git_cache:/home/ci/git_cache
212212
- /home/opencv-cn/ci_cache/opencv:/home/ci/.ccache

.github/workflows/OCV-PR-4.x-ARM64.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
run:
3636
shell: bash
3737
container:
38-
image: quay.io/opencv-ci/opencv-ubuntu-20.04-arm64:20251015
38+
image: quay.io/opencv-ci/opencv-ubuntu-24.04-arm64:20251124
3939
volumes:
4040
- /home/opencv-cn/git_cache:/home/ci/git_cache
4141
- /home/opencv-cn/ci_cache/opencv:/home/ci/.ccache
@@ -254,7 +254,7 @@ jobs:
254254
run:
255255
shell: bash
256256
container:
257-
image: quay.io/opencv-ci/opencv-ubuntu-20.04-arm64:20230413
257+
image: quay.io/opencv-ci/opencv-ubuntu-24.04-arm64:20251124
258258
volumes:
259259
- /home/opencv-cn/git_cache:/home/ci/git_cache
260260
- /home/opencv-cn/ci_cache/opencv:/home/ci/.ccache

.github/workflows/OCV-PR-5.x-ARM64-Debug.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
run:
3333
shell: bash
3434
container:
35-
image: quay.io/opencv-ci/opencv-ubuntu-20.04-arm64:20230413
35+
image: quay.io/opencv-ci/opencv-ubuntu-24.04-arm64:20251124
3636
volumes:
3737
- /home/opencv-cn/git_cache:/home/ci/git_cache
3838
- /home/opencv-cn/ci_cache/opencv:/home/ci/.ccache
@@ -208,7 +208,7 @@ jobs:
208208
run:
209209
shell: bash
210210
container:
211-
image: quay.io/opencv-ci/opencv-ubuntu-20.04-arm64:20230413
211+
image: quay.io/opencv-ci/opencv-ubuntu-24.04-arm64:20251124
212212
volumes:
213213
- /home/opencv-cn/git_cache:/home/ci/git_cache
214214
- /home/opencv-cn/ci_cache/opencv:/home/ci/.ccache

.github/workflows/OCV-PR-5.x-ARM64.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
run:
3636
shell: bash
3737
container:
38-
image: quay.io/opencv-ci/opencv-ubuntu-20.04-arm64:20230413
38+
image: quay.io/opencv-ci/opencv-ubuntu-24.04-arm64:20251124
3939
volumes:
4040
- /home/opencv-cn/git_cache:/home/ci/git_cache
4141
- /home/opencv-cn/ci_cache/opencv:/home/ci/.ccache
@@ -270,7 +270,7 @@ jobs:
270270
run:
271271
shell: bash
272272
container:
273-
image: quay.io/opencv-ci/opencv-ubuntu-20.04-arm64:20230413
273+
image: quay.io/opencv-ci/opencv-ubuntu-24.04-arm64:20251124
274274
volumes:
275275
- /home/opencv-cn/git_cache:/home/ci/git_cache
276276
- /home/opencv-cn/ci_cache/opencv:/home/ci/.ccache

docker/ubuntu/Dockerfile-arm64-24

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
# Version: 20251124
2+
# Image name: quay.io/opencv-ci/opencv-ubuntu-24.04-arm64
3+
4+
FROM ubuntu:24.04
5+
6+
ENV DEBIAN_FRONTEND=noninteractive
7+
8+
RUN \
9+
apt-get update && \
10+
apt-get install -y --no-install-recommends \
11+
software-properties-common \
12+
curl \
13+
zip \
14+
unzip \
15+
wget \
16+
rsync \
17+
mc \
18+
nano \
19+
time \
20+
git \
21+
file
22+
23+
RUN \
24+
apt-get update && \
25+
apt-get install -y --no-install-recommends \
26+
cmake \
27+
build-essential \
28+
ccache \
29+
ninja-build \
30+
ant \
31+
ant-optional \
32+
default-jdk \
33+
python3-dev \
34+
python3-setuptools \
35+
python3-pip \
36+
zlib1g-dev \
37+
libjpeg-dev \
38+
libpng-dev \
39+
libtiff5-dev \
40+
libopenjp2-7-dev \
41+
libavif-dev \
42+
libjxl-dev \
43+
libopenexr-dev \
44+
libgtk-3-dev \
45+
libcamera-dev \
46+
libavcodec-dev \
47+
libavformat-dev \
48+
libswscale-dev \
49+
libavdevice-dev \
50+
libva-dev \
51+
libgstreamer1.0-dev \
52+
libgstreamer-plugins-base1.0-dev \
53+
gstreamer1.0-plugins-good \
54+
gstreamer1.0-plugins-ugly \
55+
gstreamer1.0-libav \
56+
libopenni2-dev \
57+
libdc1394-dev \
58+
libgphoto2-dev \
59+
hdf5-tools \
60+
libhdf5-dev \
61+
liblept5 \
62+
libgdal-dev \
63+
libgoogle-glog-dev \
64+
libarmadillo-dev \
65+
libeigen3-dev \
66+
libsuitesparse-dev \
67+
liblapacke-dev \
68+
libopenblas-dev \
69+
libeigen3-dev \
70+
libglfw3-dev \
71+
libceres-dev \
72+
libtbb-dev \
73+
lcov \
74+
xvfb \
75+
pkg-config
76+
77+
RUN python3 -m pip install --break-system-packages \
78+
numpy \
79+
pylint \
80+
requests \
81+
cairosvg && \
82+
pip cache purge
83+
84+
# Self-hosted runner UID is 1004
85+
RUN useradd ci -m -s /bin/bash -G users --uid=1004
86+
87+
USER ci
88+
89+
RUN \
90+
mkdir $HOME/opencv $HOME/opencv_contrib $HOME/build && \
91+
git config --global --add safe.directory "*" && \
92+
git config --global user.email "opencv.ci" && \
93+
git config --global user.name "opencv.ci" && \
94+
git config --global pull.rebase false
95+
96+
# Run docker build from the root directory of the repository
97+
COPY scripts/warnings-handling.py /home/ci/scripts/warnings-handling.py
98+
99+
CMD bash

0 commit comments

Comments
 (0)