Skip to content

Commit

Permalink
Added CI
Browse files Browse the repository at this point in the history
  • Loading branch information
themarpe committed Jun 13, 2020
1 parent 21a50e8 commit 2950743
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 4 deletions.
9 changes: 6 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,12 @@ _generate/
*.py[cod]
*.egg-info

#depthai-cpp
depthai-cpp/.vscode/
depthai-cpp/build/
#depthai c++ core library
depthai-core/.vscode/
depthai-core/build/

# builds
_builds/

#ci
wheelhouse/
14 changes: 14 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
variables:
GIT_SUBMODULE_STRATEGY: recursive

build:armhf:
tags:
- luxonis-armhf
image: registry.gitlab.com/luxonis/depthai-crosscompile/debian-buster
stage: build
script:
- python3 -m pip wheel . -w wheelhouse/
- for whl in wheelhouse/*.whl; do auditwheel repair "$whl" --plat "linux_armv7l" -w wheelhouse/audited/; done
artifacts:
paths:
- wheelhouse/audited/
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[build-system]
requires = ["setuptools", "wheel", "cmake>=3.2.0", "pybind11"]
requires = ["setuptools", "wheel"] # Must be preinstalled "cmake>=3.2.0"

0 comments on commit 2950743

Please sign in to comment.