Skip to content

Conversation

phodina
Copy link
Contributor

@phodina phodina commented May 27, 2025

Just run the CI for Nixpkgs build of depthai-core on Linux x86_64 system

  • Add support for Darwin (x86_64 and aarch64)

  • Add support for Linux aarch64

  • Add Cachix push at the end of the build so the derivations are cached and easily reused

  • Run tests against real HW on the HIL testbeds

@phodina phodina force-pushed the v3_develop_nixpkgs_ci branch 2 times, most recently from f21a4b7 to 160572c Compare May 27, 2025 08:15
@phodina phodina mentioned this pull request May 27, 2025
13 tasks
@phodina phodina force-pushed the v3_develop_nixpkgs_ci branch 3 times, most recently from 7932867 to f10af1f Compare May 28, 2025 11:31
@phodina phodina force-pushed the v3_develop_nixpkgs_ci branch from f10af1f to 3dcb371 Compare May 28, 2025 12:54
Comment on lines +111 to +121
- name: Build using custom nixpkgs with depthai-core
run: |
nix-build --expr 'let pkgs = import (fetchTarball "https://github.com/phodina/nixpkgs/archive/refs/heads/depthaiv3_alpha15_draft.zip") {}; in pkgs.depthai-core'
- name: Run tests inside nix-shell
run: |
nix-shell -E '
with import (fetchTarball "https://github.com/phodina/nixpkgs/archive/refs/heads/depthaiv3_alpha15_draft.zip") {};
mkShell {
buildInputs = [ depthai-core ];
shellHook = "pytest bindings/python/tests";
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@phodina does this always build the latest and only pick up the dependencies from your alpha15_draft?

We've updated the vcpkg baseline, so these might not build anymore as a few of the dependencies made braking changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants