Skip to content

Commit 739b079

Browse files
authored
Drop Ubuntu 20.04 runners as they are deprecated by Github Actions. (#243)
1 parent 23c2d0c commit 739b079

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ env:
2424

2525
jobs:
2626
BuildAndTest:
27-
runs-on: ubuntu-20.04
27+
runs-on: ubuntu-22.04
2828
defaults:
2929
run:
3030
shell: bash
@@ -130,47 +130,47 @@ jobs:
130130
cd ${{ env.OPENCV_CONTRIB_DOCKER_WORKDIR }}
131131
git bundle create test.bundle ${{ env.LATEST_COMMIT_OPENCV_CONTRIB }}..HEAD || true
132132
python3 $HOME/scripts/patch_size.py
133-
133+
134134
- name: Build js
135135
if: ${{ always() && steps.last-repo-step.outcome == 'success' }}
136136
timeout-minutes: 60
137137
run: |
138138
cd $HOME/build
139139
emcmake python ../opencv/platforms/js/build_js.py js --build_test
140-
140+
141141
- name: Run js tests
142142
if: ${{ always() && steps.last-repo-step.outcome == 'success' }}
143143
timeout-minutes: 60
144144
run: |
145145
cd $HOME/build/js/bin
146146
npm install
147147
node tests.js
148-
148+
149149
- name: Configure OpenCV doxygen
150150
if: ${{ always() && steps.last-repo-step.outcome == 'success' }}
151151
id: opencv-doxygen
152152
timeout-minutes: 60
153153
run: |
154154
cd $HOME/build
155155
cmake ${{ env.EXTRA_CMAKE_OPTIONS }} ${{ env.OPENCV_DOCKER_WORKDIR }}
156-
156+
157157
- name: Build OpenCV doxygen
158158
if: ${{ always() && steps.opencv-doxygen.outcome == 'success' }}
159159
timeout-minutes: 60
160160
id: build-opencv
161161
working-directory: ${{ env.HOME }}/build
162162
run: cmake --build . --config release --target doxygen -- -j$(nproc) 2>&1 | tee log.txt
163-
163+
164164
- name: Warnings check
165165
run: python3 scripts/warnings-handling.py ${{ env.HOME }}/build/log.txt
166-
166+
167167
- name: Pylint
168168
timeout-minutes: 60
169169
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
170170
run: |
171171
cd $HOME/build
172172
cmake --build . --config release --target check_pylint -- -j$(nproc)
173-
173+
174174
- name: Flake8
175175
timeout-minutes: 60
176176
if: ${{ always() && steps.build-opencv.outcome == 'success' }}

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ env:
2424

2525
jobs:
2626
BuildAndTest:
27-
runs-on: ubuntu-20.04
27+
runs-on: ubuntu-22.04
2828
defaults:
2929
run:
3030
shell: bash
@@ -136,15 +136,15 @@ jobs:
136136
run: |
137137
cd $HOME/build
138138
emcmake python ../opencv/platforms/js/build_js.py js --build_test
139-
139+
140140
- name: Run js tests
141141
if: ${{ always() && steps.last-repo-step.outcome == 'success' }}
142142
timeout-minutes: 60
143143
run: |
144144
cd $HOME/build/js/bin
145145
npm install
146146
node tests.js
147-
147+
148148
- name: Configure OpenCV doxygen
149149
if: ${{ always() && steps.last-repo-step.outcome == 'success' }}
150150
id: opencv-doxygen

.github/workflows/OCV-timvx-backend-tests-4.x.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ env:
2020

2121
jobs:
2222
x86-simulator-build-test:
23-
runs-on: ubuntu-20.04
23+
runs-on: ubuntu-22.04
2424
container: quay.io/opencv-ci/opencv-ubuntu-20.04-timvx:20220901
2525
steps:
2626
- name: Define proper HOME path

0 commit comments

Comments
 (0)