mcuee / libusb-win32

libusb-win32 project official github repo
172 stars 45 forks source link

github action #39

Open mcuee opened 11 months ago

mcuee commented 11 months ago

It may be good to set up github action for CI/CD.

dontech commented 11 months ago

It may be good to set up github action for CI/CD.

Yes, this would be a logical step

tormodvolden commented 11 months ago

Running the static driver verifier can maybe be included? https://learn.microsoft.com/en-us/windows-hardware/drivers/devtest/static-driver-verifier

dontech commented 11 months ago

Yes, any contributions are welcome

dontech commented 11 months ago

Running the static driver verifier can maybe be included? https://learn.microsoft.com/en-us/windows-hardware/drivers/devtest/static-driver-verifier

This should probably be added to the build system

dontech commented 11 months ago

We can follow this: https://learn.microsoft.com/en-us/windows-hardware/drivers/devtest/using-static-driver-verifier-to-find-defects-in-drivers

dontech commented 11 months ago

The static driver verifier will be added to the build system after the first release of 3.0.0.X

Also, all errors and warnings will be fixed that is emitted by this system (currently its ~50 errors emitted - mostly minor)

tormodvolden commented 11 months ago

I hope you mean 1.3.0.x :) BTW, libusbK.dll uses the driver version < 3.0.0.0 to distinguish it from libusbK.sys

mcuee commented 11 months ago

I hope you mean 1.3.0.x :)

Haha.

BTW, libusbK.dll uses the driver version < 3.0.0.0 to distinguish it from libusbK.sys

Interesting info. Thanks.

mcuee commented 11 months ago

In the future, maybe github CodeQL can be added as well. https://learn.microsoft.com/en-us/windows-hardware/drivers/devtest/static-tools-and-codeql

mcuee commented 7 months ago

libwdi github CI example: with codeql, coverity and VS2022 as well as MSYS build. https://github.com/pbatard/libwdi/tree/master/.github/workflows