Skip to content

Commit b38dcc9

Browse files
authored
ci: upgrade to ubuntu-24.04 (#161)
This avoids using `ubuntu-20.04` which is deprecated by GitHub actions.
1 parent 5bcf783 commit b38dcc9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ jobs:
2020
# TODO: macos-latest cannot yet be included in the list because a dependency cannot be
2121
# found ("dyld: Library not loaded; '@rpath/libopenvino.2310.dylib'"). See
2222
# https://github.com/abrown/openvino-rs/actions/runs/6423141936/job/17441022932#step:7:154
23-
os: [ubuntu-20.04, ubuntu-22.04, windows-latest]
23+
os: [ubuntu-22.04, ubuntu-24.04, windows-latest]
2424
version: [2024.4.0, 2024.5.0, 2024.6.0]
2525
apt: [false]
2626
# We also spot-check that things work when installing from APT by adding to the matrix: see
2727
# https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations
2828
# APT install and check latest supported version.
2929
include:
30-
- os: ubuntu-22.04
30+
- os: ubuntu-24.04
3131
version: 2024.4.0
3232
apt: true
3333
env:
@@ -104,7 +104,7 @@ jobs:
104104
# commands.
105105
converter:
106106
name: Check converter tool
107-
runs-on: ubuntu-20.04
107+
runs-on: ubuntu-24.04
108108
defaults:
109109
run:
110110
working-directory: crates/openvino-tensor-converter
@@ -113,7 +113,7 @@ jobs:
113113
with:
114114
submodules: true
115115
- name: Install OpenCV
116-
run: sudo apt update && sudo apt install libclang-dev libopencv-dev libopencv-core4.2
116+
run: sudo apt update && sudo apt install libopencv-dev clang libclang-dev
117117
- name: Build
118118
run: cargo build -v
119119
- name: test

0 commit comments

Comments
 (0)