@@ -32,17 +32,17 @@ jobs:
3232 runs-on : ubuntu-latest
3333 steps :
3434 - name : Cache .hunter folder
35- uses : actions/cache@v2
35+ uses : actions/cache@v3
3636 with :
3737 path : ~/.hunter
3838 key : hunter-ubuntu-latest
3939 - name : List .hunter cache directory
4040 run : ls -a -l ~/.hunter/_Base/ || true
41- - uses : actions/checkout@v2
41+ - uses : actions/checkout@v3
4242 with :
4343 submodules : ' recursive'
4444 - name : Set up Python
45- uses : actions/setup-python@v2
45+ uses : actions/setup-python@v4
4646 with :
4747 python-version : 3.8
4848 - name : Install dependencies
5555 - name : Build target 'pybind11_mkdoc'
5656 run : cmake --build build --target pybind11_mkdoc --parallel 4
5757 - name : Upload docstring artifacts
58- uses : actions/upload-artifact@v2
58+ uses : actions/upload-artifact@v3
5959 with :
6060 name : docstrings
6161 path : docstrings/
@@ -75,30 +75,30 @@ jobs:
7575
7676 - name : Cache .hunter folder
7777 if : matrix.os != 'windows-latest'
78- uses : actions/cache@v2
78+ uses : actions/cache@v3
7979 with :
8080 path : ~/.hunter/
8181 key : hunter-pytest-${{ matrix.os }}
8282 - name : Cache .hunter folder
8383 if : matrix.os == 'windows-latest'
84- uses : actions/cache@v2
84+ uses : actions/cache@v3
8585 with :
8686 path : C:/.hunter/
8787 key : hunter-pytest-${{ matrix.os }}
8888
89- - uses : actions/checkout@v2
89+ - uses : actions/checkout@v3
9090 with :
9191 submodules : ' recursive'
9292
93- - uses : actions/download-artifact@v2
93+ - uses : actions/download-artifact@v3
9494 with :
9595 name : ' docstrings'
9696 path : docstrings
9797 - name : Specify docstring to use while building the wheel
9898 run : echo "DEPTHAI_PYTHON_DOCSTRINGS_INPUT=$PWD/docstrings/depthai_python_docstring.hpp" >> $GITHUB_ENV
9999
100100 - name : Set up Python ${{ matrix.python-version }}
101- uses : actions/setup-python@v2
101+ uses : actions/setup-python@v4
102102 with :
103103 python-version : " 3.10"
104104
@@ -137,11 +137,11 @@ jobs:
137137 steps :
138138 - name : Print home directory
139139 run : echo Home directory inside container $HOME
140- - uses : actions/checkout@v2
140+ - uses : actions/checkout@v3
141141 with :
142142 submodules : ' recursive'
143143
144- - uses : actions/download-artifact@v2
144+ - uses : actions/download-artifact@v3
145145 with :
146146 name : ' docstrings'
147147 path : docstrings
@@ -156,7 +156,7 @@ jobs:
156156 - name : Auditing wheel
157157 run : for whl in wheelhouse/*.whl; do auditwheel repair "$whl" --plat linux_armv7l -w wheelhouse/audited/; done
158158 - name : Archive wheel artifacts
159- uses : actions/upload-artifact@v2
159+ uses : actions/upload-artifact@v3
160160 with :
161161 name : audited-wheels
162162 path : wheelhouse/audited/
@@ -175,20 +175,20 @@ jobs:
175175 runs-on : windows-latest
176176 strategy :
177177 matrix :
178- python-version : [3.6, 3.7, 3.8, 3.9, '3.10']
178+ python-version : [3.6, 3.7, 3.8, 3.9, '3.10', '3.11' ]
179179 python-architecture : [x64, x86]
180180 fail-fast : false
181181 steps :
182182 - name : Cache .hunter folder
183- uses : actions/cache@v2
183+ uses : actions/cache@v3
184184 with :
185185 path : C:/.hunter
186186 key : hunter-msvc
187- - uses : actions/checkout@v2
187+ - uses : actions/checkout@v3
188188 with :
189189 submodules : ' recursive'
190190
191- - uses : actions/download-artifact@v2
191+ - uses : actions/download-artifact@v3
192192 with :
193193 name : ' docstrings'
194194 path : docstrings
@@ -199,7 +199,7 @@ jobs:
199199 run : echo "CMAKE_ARGS=-DCMAKE_SYSTEM_VERSION=${{ env.CMAKE_WINDOWS_SDK_VERSION }}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
200200
201201 - name : Set up Python ${{ matrix.python-version }}
202- uses : actions/setup-python@v2
202+ uses : actions/setup-python@v4
203203 with :
204204 python-version : ${{ matrix.python-version }}
205205 architecture : ${{ matrix.python-architecture }}
@@ -212,7 +212,7 @@ jobs:
212212 - name : Building wheels
213213 run : python -m pip wheel . -w ./wheelhouse/audited/ --verbose
214214 - name : Archive wheel artifacts
215- uses : actions/upload-artifact@v2
215+ uses : actions/upload-artifact@v3
216216 with :
217217 name : audited-wheels
218218 path : wheelhouse/audited/
@@ -230,11 +230,11 @@ jobs:
230230 runs-on : macos-latest
231231 strategy :
232232 matrix :
233- python-version : [3.6, 3.7, 3.8, 3.9, '3.10']
233+ python-version : [3.6, 3.7, 3.8, 3.9, '3.10', '3.11' ]
234234 fail-fast : false
235235 steps :
236236 - name : Cache .hunter folder
237- uses : actions/cache@v2
237+ uses : actions/cache@v3
238238 with :
239239 path : ~/.hunter
240240 key : hunter-macos-latest
@@ -243,19 +243,19 @@ jobs:
243243 ls -a -l ~/.hunter/_Base/ || true
244244 echo "PATH=$PATH"
245245
246- - uses : actions/checkout@v2
246+ - uses : actions/checkout@v3
247247 with :
248248 submodules : ' recursive'
249249
250- - uses : actions/download-artifact@v2
250+ - uses : actions/download-artifact@v3
251251 with :
252252 name : ' docstrings'
253253 path : docstrings
254254 - name : Specify docstring to use while building the wheel
255255 run : echo "DEPTHAI_PYTHON_DOCSTRINGS_INPUT=$PWD/docstrings/depthai_python_docstring.hpp" >> $GITHUB_ENV
256256
257257 - name : Set up Python ${{ matrix.python-version }}
258- uses : actions/setup-python@v2
258+ uses : actions/setup-python@v4
259259 with :
260260 python-version : ${{ matrix.python-version }}
261261 - name : Append build hash if not a tagged commit
@@ -273,7 +273,7 @@ jobs:
273273 - name : Auditing wheels
274274 run : ci/repair-whl-macos.sh `pwd`/wheelhouse/* `pwd`/wheelhouse/audited
275275 - name : Archive wheel artifacts
276- uses : actions/upload-artifact@v2
276+ uses : actions/upload-artifact@v3
277277 with :
278278 name : audited-wheels
279279 path : wheelhouse/audited/
@@ -292,7 +292,7 @@ jobs:
292292 steps :
293293 # Cached locally on runner
294294 # - name: Cache .hunter folder
295- # uses: actions/cache@v2
295+ # uses: actions/cache@v3
296296 # with:
297297 # path: ~/.hunter
298298 # key: hunter-macos-latest
@@ -301,11 +301,11 @@ jobs:
301301 ls -a -l ~/.hunter/_Base/ || true
302302 echo "PATH=$PATH"
303303
304- - uses : actions/checkout@v2
304+ - uses : actions/checkout@v3
305305 with :
306306 submodules : ' recursive'
307307
308- - uses : actions/download-artifact@v2
308+ - uses : actions/download-artifact@v3
309309 with :
310310 name : ' docstrings'
311311 path : docstrings
@@ -324,13 +324,13 @@ jobs:
324324 # echo "DEPTHAI_INSTALLATION_DIR=$PWD/build_core/install/" >> $GITHUB_ENV
325325
326326 - name : Build wheels
327- run : for PYBIN in {9..10 }; do "python3.${PYBIN}" -m pip wheel . -w wheelhouse/ --verbose; done
327+ run : for PYBIN in {9..11 }; do "python3.${PYBIN}" -m pip wheel . -w wheelhouse/ --verbose; done
328328
329329 - name : Auditing wheels
330330 run : delocate-wheel -v -w wheelhouse/audited wheelhouse/*.whl
331331
332332 - name : Archive wheel artifacts
333- uses : actions/upload-artifact@v2
333+ uses : actions/upload-artifact@v3
334334 with :
335335 name : audited-wheels
336336 path : wheelhouse/audited/
@@ -347,16 +347,16 @@ jobs:
347347 needs : build-docstrings
348348 runs-on : ubuntu-latest
349349 container :
350- image : quay.io/pypa/manylinux2014_x86_64:2021-11-15-a808c18
350+ image : quay.io/pypa/manylinux2014_x86_64:2022-10-30-402504a
351351 env :
352352 PLAT : manylinux2014_x86_64
353353 steps :
354354 - name : Cache .hunter folder
355- uses : actions/cache@v2
355+ uses : actions/cache@v3
356356 with :
357357 path : ~/.hunter
358358 key : hunter-x86_64
359- - uses : actions/checkout@v2
359+ - uses : actions/checkout@v3
360360 with :
361361 submodules : ' recursive'
362362 - name : Installing libusb1-devel dependency
@@ -368,7 +368,7 @@ jobs:
368368 - name : Create folder structure
369369 run : mkdir -p wheelhouse/audited/
370370
371- - uses : actions/download-artifact@v2
371+ - uses : actions/download-artifact@v3
372372 with :
373373 name : ' docstrings'
374374 path : docstrings
@@ -390,11 +390,11 @@ jobs:
390390 /opt/python/cp38-cp38/bin/python3.8 setup.py sdist --formats=gztar
391391 mv dist/* wheelhouse/audited/
392392 - name : Build wheels
393- run : for PYBIN in /opt/python/cp3{6..10 }*/bin; do "${PYBIN}/pip" wheel . -w ./wheelhouse/ --verbose; done
393+ run : for PYBIN in /opt/python/cp3{6..11 }*/bin; do "${PYBIN}/pip" wheel . -w ./wheelhouse/ --verbose; done
394394 - name : Audit wheels
395395 run : for whl in wheelhouse/*.whl; do auditwheel repair "$whl" --plat $PLAT -w wheelhouse/audited/; done
396396 - name : Archive wheel artifacts
397- uses : actions/upload-artifact@v2
397+ uses : actions/upload-artifact@v3
398398 with :
399399 name : audited-wheels
400400 path : wheelhouse/audited/
@@ -411,14 +411,14 @@ jobs:
411411 needs : build-docstrings
412412 runs-on : [self-hosted, linux, ARM64]
413413 container :
414- image : quay.io/pypa/manylinux2014_aarch64:2021-11-15-a808c18
414+ image : quay.io/pypa/manylinux2014_aarch64:2022-10-30-402504a
415415 env :
416416 PLAT : manylinux2014_aarch64
417417 # Mount local hunter cache directory, instead of transfering to Github and back
418418 volumes :
419419 - /.hunter:/github/home/.hunter
420420 steps :
421- - uses : actions/checkout@v2
421+ - uses : actions/checkout@v3
422422 with :
423423 submodules : ' recursive'
424424 - name : Installing libusb1-devel dependency
@@ -430,7 +430,7 @@ jobs:
430430 - name : Create folder structure
431431 run : mkdir -p wheelhouse/audited/
432432
433- - uses : actions/download-artifact@v2
433+ - uses : actions/download-artifact@v3
434434 with :
435435 name : ' docstrings'
436436 path : docstrings
@@ -447,11 +447,11 @@ jobs:
447447 if : startsWith(github.ref, 'refs/tags/v') != true
448448 run : echo "BUILD_COMMIT_HASH=${{github.sha}}" >> $GITHUB_ENV
449449 - name : Building wheels
450- run : for PYBIN in /opt/python/cp3{6..10 }*/bin; do "${PYBIN}/pip" wheel . -w ./wheelhouse/ --verbose; done
450+ run : for PYBIN in /opt/python/cp3{6..11 }*/bin; do "${PYBIN}/pip" wheel . -w ./wheelhouse/ --verbose; done
451451 - name : Auditing wheels
452452 run : for whl in wheelhouse/*.whl; do auditwheel repair "$whl" --plat $PLAT -w wheelhouse/audited/; done
453453 - name : Archive wheel artifacts
454- uses : actions/upload-artifact@v2
454+ uses : actions/upload-artifact@v3
455455 with :
456456 name : audited-wheels
457457 path : wheelhouse/audited/
@@ -469,15 +469,17 @@ jobs:
469469 runs-on : ubuntu-latest
470470
471471 steps :
472- - uses : actions/checkout@v2
472+ - uses : actions/checkout@v3
473473 with :
474474 submodules : ' recursive'
475475
476+ # Get tag version
477+ # TODO(themarpe) - Node12, has to be updated
476478 - name : Get tag version
477479 id : tag
478480 uses : battila7/get-version-action@v2
479481
480- - uses : actions/setup-python@v2
482+ - uses : actions/setup-python@v4
481483 with :
482484 python-version : ' 3.8'
483485
@@ -508,10 +510,10 @@ jobs:
508510 needs : [release]
509511 runs-on : ubuntu-latest
510512 steps :
511- - uses : actions/checkout@v2
513+ - uses : actions/checkout@v3
512514 with :
513515 submodules : ' recursive'
514- - uses : actions/download-artifact@v2
516+ - uses : actions/download-artifact@v3
515517 with :
516518 name : audited-wheels
517519 path : wheelhouse/audited/
@@ -536,4 +538,3 @@ jobs:
536538 repository : luxonis/robothub-apps
537539 event-type : depthai-python-release
538540 client-payload : ' {"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'
539-
0 commit comments