diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 79889f628..284cc6a84 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -180,7 +180,7 @@ jobs: runs-on: windows-latest strategy: matrix: - python-version: [3.6, 3.7, 3.8, 3.9, '3.10', '3.11'] + python-version: [3.6, 3.7, 3.8, 3.9, '3.10', '3.11', '3.12'] python-architecture: [x64, x86] fail-fast: false steps: @@ -235,7 +235,7 @@ jobs: runs-on: macos-latest strategy: matrix: - python-version: [3.6, 3.7, 3.8, 3.9, '3.10', '3.11'] + python-version: [3.6, 3.7, 3.8, 3.9, '3.10', '3.11', '3.12'] fail-fast: false steps: - name: Cache .hunter folder @@ -329,7 +329,7 @@ jobs: # echo "DEPTHAI_INSTALLATION_DIR=$PWD/build_core/install/" >> $GITHUB_ENV - name: Build wheels - run: for PYBIN in {9..11}; do "python3.${PYBIN}" -m pip wheel . -w wheelhouse/ --verbose; done + run: for PYBIN in {9..12}; do "python3.${PYBIN}" -m pip wheel . -w wheelhouse/ --verbose; done - name: Auditing wheels run: delocate-wheel -v -w wheelhouse/audited wheelhouse/*.whl @@ -352,7 +352,7 @@ jobs: needs: build-docstrings runs-on: ubuntu-latest container: - image: quay.io/pypa/manylinux2014_x86_64:2022-10-30-402504a + image: quay.io/pypa/manylinux2014_x86_64:2024-01-08-eb135ed env: PLAT: manylinux2014_x86_64 steps: @@ -395,7 +395,7 @@ jobs: /opt/python/cp38-cp38/bin/python3.8 setup.py sdist --formats=gztar mv dist/* wheelhouse/audited/ - name: Build wheels - run: for PYBIN in /opt/python/cp3{6..11}*/bin; do "${PYBIN}/pip" wheel . -w ./wheelhouse/ --verbose; done + run: for PYBIN in /opt/python/cp3{6..12}*/bin; do "${PYBIN}/pip" wheel . -w ./wheelhouse/ --verbose; done - name: Audit wheels run: for whl in wheelhouse/*.whl; do auditwheel repair "$whl" --plat $PLAT -w wheelhouse/audited/; done - name: Archive wheel artifacts @@ -416,7 +416,7 @@ jobs: needs: build-docstrings runs-on: [self-hosted, linux, ARM64] container: - image: quay.io/pypa/manylinux2014_aarch64:2022-10-30-402504a + image: quay.io/pypa/manylinux2014_aarch64:2024-01-08-eb135ed env: PLAT: manylinux2014_aarch64 # Mount local hunter cache directory, instead of transfering to Github and back @@ -452,7 +452,7 @@ jobs: if: startsWith(github.ref, 'refs/tags/v') != true run: echo "BUILD_COMMIT_HASH=${{github.sha}}" >> $GITHUB_ENV - name: Building wheels - run: for PYBIN in /opt/python/cp3{6..11}*/bin; do "${PYBIN}/pip" wheel . -w ./wheelhouse/ --verbose; done + run: for PYBIN in /opt/python/cp3{6..12}*/bin; do "${PYBIN}/pip" wheel . -w ./wheelhouse/ --verbose; done - name: Auditing wheels run: for whl in wheelhouse/*.whl; do auditwheel repair "$whl" --plat $PLAT -w wheelhouse/audited/; done - name: Archive wheel artifacts @@ -573,4 +573,4 @@ jobs: workflow_timeout_seconds: 300 # was 120 Default: 300 - name: Release - run: echo "https://github.com/luxonis/depthai-core-hil-tests/actions/runs/${{steps.return_dispatch.outputs.run_id}}" >> $GITHUB_STEP_SUMMARY \ No newline at end of file + run: echo "https://github.com/luxonis/depthai-core-hil-tests/actions/runs/${{steps.return_dispatch.outputs.run_id}}" >> $GITHUB_STEP_SUMMARY