Skip to content

Add libc++ main builder status badge #75283

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

Merged
merged 2 commits into from
Dec 13, 2023
Merged

Add libc++ main builder status badge #75283

merged 2 commits into from
Dec 13, 2023

Conversation

EricWF
Copy link
Member

@EricWF EricWF commented Dec 13, 2023

No description provided.

@EricWF EricWF requested a review from a team as a code owner December 13, 2023 05:42
@llvmbot llvmbot added the libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi. label Dec 13, 2023
@llvmbot
Copy link
Member

llvmbot commented Dec 13, 2023

@llvm/pr-subscribers-libcxx

Author: Eric (EricWF)

Changes

Full diff: https://github.com/llvm/llvm-project/pull/75283.diff

1 Files Affected:

  • (modified) libcxx/docs/index.rst (+4)
diff --git a/libcxx/docs/index.rst b/libcxx/docs/index.rst
index e8b4a95dbcffae..6112181d02f7b8 100644
--- a/libcxx/docs/index.rst
+++ b/libcxx/docs/index.rst
@@ -4,6 +4,10 @@
 "libc++" C++ Standard Library
 =============================
 
+.. image:: https://github.com/llvm/llvm-project/actions/workflows/libcxx-build-and-test.yaml/badge.svg?branch=main&event=schedule
+   :target: https://github.com/llvm/llvm-project/actions/workflows/libcxx-build-and-test.yaml
+   :alt: Build and Test libc++
+
 Overview
 ========
 

@EricWF EricWF merged commit f68435f into llvm:main Dec 13, 2023
@@ -67,6 +67,10 @@ Getting Started with libc++
Current Status
==============

.. image:: https://github.com/llvm/llvm-project/actions/workflows/libcxx-build-and-test.yaml/badge.svg?branch=main&event=schedule
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO this is a really bad place to put this. I'm pretty sure most people don't care whether our CI is currently green, and this has nothing to do with the text below.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have to agree to some extent. This is user documentation, not libc++ developer documentation. Also, we publish this page and freeze it for releases, but this link is relative so for example if you look at the page for the LLVM 18 release, it will contain this badge which may go green/red depending on the weather. This seems undesirable.

Instead, I think a better place to put this badge would be on the LLVM monorepo README which we can see at a glance by just looking at the repo -- other projects could consider doing the same thing and we'd have some kind of table that shows the status of all projects.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool. I'll send a change. But I would like this on the website somewhere. I can put it down next to the builders.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just curious, but why not put it in the main LLVM README? Then the status is directly visible from the main GitHub page. This is the typical location for badges.

@EricWF
Copy link
Member Author

EricWF commented Dec 20, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants