Граф коммитов

16 Коммитов

Автор SHA1 Сообщение Дата
Alan Jowett 9f8b1e636e
Add scheduled CodeQL workflow (#318)
* Add scheduled CodeQL workflow
* Add msbuild to path

Signed-off-by: Alan Jowett <alanjo@microsoft.com>
2021-06-29 13:50:01 -07:00
Alan Jowett e8f91a5ffd
Add configuration option to run code analysis (#301)
* Add configuration option to run code analysis

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

* Add analysis to build matrix

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

* Fix typo

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

* Enable code analysis on all builds

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

* PR feedback

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

* Add default ruleset

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

* Enable all passing rules

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

* PR feedback

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

* Update Analyze.default.ruleset

Co-authored-by: Dave Thaler <dthaler@microsoft.com>

* Update Analyze.default.ruleset

Co-authored-by: Dave Thaler <dthaler@microsoft.com>

* Switch rules from prevail to warning

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

Co-authored-by: Dave Thaler <dthaler@microsoft.com>
2021-06-24 12:53:51 -06:00
Alan Jowett 3027b82df0
Unify unit tests (#294)
* Unify unit tests

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

* PR feedback

Signed-off-by: Alan Jowett <alanjo@microsoft.com>
2021-06-22 12:22:50 -06:00
Dave Thaler f79e91422e
Fix doxygen error when there are no changes to commit (#232)
Previously the script worked when there were changes and
generates an error when there's actually nothing to do
because "git commit" returns exit code 1 when there's nothing to do.

This updates the github workflow to only commit when there's something
to commit.  For more discussion see
https://stackoverflow.com/questions/5139290/how-to-check-if-theres-nothing-to-be-committed-in-the-current-branch

Signed-off-by: Dave Thaler <dthaler@ntdev.microsoft.com>
2021-05-27 14:28:28 -07:00
Dave Thaler 2bd9033b95
Fix doxygen errors (#229)
"git commit -am" only adds changes to existing files, not new files
and so was missing adding docs when new headers were added, resulting
in a failure.

Also some params were missing from doxygen which resulted in
a bunch of warnings.

Signed-off-by: Dave Thaler <dthaler@ntdev.microsoft.com>
2021-05-26 12:01:58 -07:00
Dave Thaler a3f5150f91
Update CODEOWNERS list (#213)
So pull request notifications go to more people

Signed-off-by: Dave Thaler <dthaler@ntdev.microsoft.com>

Co-authored-by: Alan Jowett <alanjo@microsoft.com>
2021-05-21 10:16:59 -07:00
saxena-anurag 2518e84e84
Integrate verifier with ebpfsvc (#198)
* call verifier from svc
* ebpfsvc verification support, rpc client
* change rpc api to take const char*, review comments
2021-05-20 18:04:36 -07:00
Dave Thaler 656e7becc1
Add doxygen automation (#180)
Signed-off-by: Dave Thaler <dthaler@ntdev.microsoft.com>
2021-05-12 08:23:02 -06:00
Alan Jowett 962ef5e03d
Split tests (#158)
* Create unit test for execution context
* Split out platform unit tests
* Call UT as part of CI/CD pipeline

Signed-off-by: Alan Jowett <alanjo@microsoft.com>
2021-05-10 15:14:49 -06:00
Dave Thaler b115fce38d
Fix CODEOWNERS (#45)
The alias has to be prefixed with the github org to be recognized

Signed-off-by: Dave Thaler <dthaler@ntdev.microsoft.com>
2021-04-19 08:31:01 -07:00
Dave Thaler 1c0e6c9b9f
Add CODEOWNERS file (#40)
So that pull request reviewers are automatically populated

Signed-off-by: Dave Thaler <dthaler@ntdev.microsoft.com>
2021-04-17 13:22:43 -07:00
Dave Thaler c8a612ae19
Remove obsolete .sln files (#39)
And rename ebpf-demo.sln to ebpf-for-windows.sln

Signed-off-by: Dave Thaler <dthaler@ntdev.microsoft.com>
2021-04-16 18:14:30 -07:00
Dave Thaler d2faba3e25
Build Debug configuration (#29)
Signed-off-by: Dave Thaler <dthaler@ntdev.microsoft.com>
2021-04-16 12:52:47 -07:00
Alan Jowett e17f511a42
Add unit test to CI/CD workflow. (#8)
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

Co-authored-by: Dave Thaler <dthaler@microsoft.com>
2021-04-15 13:25:12 -06:00
Dave Thaler f4c244a9a0
Run github workflow on all pull requests (#11)
Not just ones from the original repo, but also PRs from forks

Signed-off-by: Dave Thaler <dthaler@ntdev.microsoft.com>
2021-04-15 12:09:49 -07:00
Dave Thaler 9174654d26
Add build task to github workflows (#2)
Signed-off-by: Dave Thaler <dthaler@ntdev.microsoft.com>
2021-04-14 11:03:01 -07:00