-
Notifications
You must be signed in to change notification settings - Fork 115
ci: run unit tests on macos #1668
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
19cbfe5 to
b69cdd3
Compare
b69cdd3 to
5aa113c
Compare
.github/workflows/ci-common.yml
Outdated
| - name: run ATECC608 unit tests | ||
| run: (cd tools/atecc608; go test ./...) | ||
|
|
||
| unit-tests-macos: |
There was a problem hiding this comment.
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?
.github/workflows/ci-common.yml
Outdated
| submodules: recursive | ||
|
|
||
| - name: Install system dependencies | ||
| run: brew install cbindgen bindgen cmocka hidapi |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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...
There was a problem hiding this comment.
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.
No description provided.