CI: Add support for GitHub Actions by alessandrogario · Pull Request #6885 · osq...
source link: https://github.com/osquery/osquery/pull/6885
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
The original intent was to just add Linux support, but I ended up adding all platforms (sadly, I wasn't able to keep one file per OS because jobs can only depend on other jobs defined on the same files).
I think it looks decent for an initial version, as it's at least in feature parity compared to Azure; I would like to start looking into the signing options with @directionless's guidance once this is merged
The workflow should always attach the following artifacts:
- Windows packages (nupkg, msi)
- Linux packages (deb, ddeb, release rpm, debuginfo rpm, tar.gz)
- macOS packages (pkg, tar.gz)
- cppcheck logs (release and debug, Linux only)
An additional difference compared to Azure is that no build jobs are started if the code fails the format check
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK