Skip to content

Conversation

@NickeZ
Copy link
Collaborator

@NickeZ NickeZ commented Nov 3, 2025

No description provided.

@NickeZ NickeZ force-pushed the maint/unit-test-in-macos branch 5 times, most recently from 19cbfe5 to b69cdd3 Compare November 3, 2025 15:23
@NickeZ NickeZ force-pushed the maint/unit-test-in-macos branch from b69cdd3 to 5aa113c Compare November 3, 2025 15:25
- name: run ATECC608 unit tests
run: (cd tools/atecc608; go test ./...)

unit-tests-macos:
Copy link
Collaborator

Choose a reason for hiding this comment

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

call it rust-unit-tests-macos?

submodules: recursive

- name: Install system dependencies
run: brew install cbindgen bindgen cmocka hidapi
Copy link
Collaborator

Choose a reason for hiding this comment

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

hidapi should not be needed?

cmocka also not for Ruts unit tests?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yeah, cmocka shouldn't be a requirement. hidapi is needed to build the u2f unit tests. I suppose we could make hidapi an optional dependnecy, but then if hidapi is missing it will fail to build instead of fail to configure. Not sure if that is better...

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

pushed some commits to see if I can get rid of the cmocka dep at least.

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