doc: Add status icon for CI pipelines #2177
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
It can be beneficial for users to know whether to expect the main branch to build as expected, especially for AArch64, as our current way of pushing directly to main can break AArch64 CI. Users can look to see the current CI status in the latest git commit, but for better visibility, we can add a badge. This also gives us the status of the last full CI run instead of the current CI run that the git commit status will give us (which may not be complete at the time of viewing, and can hide the current CI status). Also recall that AArch64 CI does not fully complete on forks and so they will never show the correct CI status on the git commits, and instead will need to rely on the badge.
We added status badges in the README here: 4d82471
This change adds another badge for CI. An example view of badge can be seen from my fork's README: https://github.com/theComputeKid/oneDNN/tree/badges
I don't have the privileges to get the x86 CI badges from Azure, so will wait for @vpirogov or @mgouicem, in case they want to add x86 badges.