Skip to content

Commit f7fdff4

Browse files
committed
chore: rename ci.yml → ci-linux.yml; move CI status into README table
- Workflow renamed (and `name:` updated) to match the platform-prefixed ci-macos / ci-windows convention. Comment cross-references updated. - README: drop the 3 CI badges from the badges row and add them as the table's last row alongside the docs / community links — keeps the badges row focused on project metadata (release / language / license).
1 parent 07839ea commit f7fdff4

4 files changed

Lines changed: 10 additions & 10 deletions

File tree

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
name: ci
1+
name: ci-linux
22

3-
# Self-host CI: mcpp builds mcpp. The bootstrap mcpp comes from
4-
# `xlings install mcpp` (xim:mcpp in the xlings package index), so
5-
# this workflow no longer depends on a previous-release tarball — the
3+
# Self-host CI on Linux: mcpp builds mcpp. The bootstrap mcpp comes from
4+
# `xlings install mcpp` (xim:mcpp in the xlings package index), so this
5+
# workflow no longer depends on a previous-release tarball — the
66
# chicken-and-egg now lives upstream in the xlings index.
7+
#
8+
# Paired workflows: ci-macos.yml, ci-windows.yml.
79

810
on:
911
push:

.github/workflows/ci-macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ jobs:
292292
"$MCPP" test
293293
294294
- name: E2E suite
295-
# See ci.yml — fail-fast on hung tests instead of burning the
295+
# See ci-linux.yml — fail-fast on hung tests instead of burning the
296296
# whole job budget. Per-test 600s timeout lives in run_all.sh.
297297
timeout-minutes: 25
298298
run: |

.github/workflows/ci-windows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: ci-windows
22

3-
# Windows CI for mcpp — same flow as Linux (ci.yml) and macOS (ci-macos.yml):
3+
# Windows CI for mcpp — same flow as Linux (ci-linux.yml) and macOS (ci-macos.yml):
44
# xlings install mcpp → self-host build → E2E → smoke → package
55

66
on:
@@ -178,7 +178,7 @@ jobs:
178178
179179
- name: E2E suite
180180
shell: bash
181-
# See ci.yml — fail-fast on hung tests instead of burning the
181+
# See ci-linux.yml — fail-fast on hung tests instead of burning the
182182
# whole job budget. Per-test 600s timeout lives in run_all.sh.
183183
timeout-minutes: 25
184184
run: |

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,14 @@
33
> 一个 现代C++ 模块化构建工具 — 纯 C++23 模块编写,已实现自举
44
55
[![Release](https://img.shields.io/github/v/release/mcpp-community/mcpp)](https://github.com/mcpp-community/mcpp/releases)
6-
[![ci](https://github.com/mcpp-community/mcpp/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/mcpp-community/mcpp/actions/workflows/ci.yml)
7-
[![ci-macos](https://github.com/mcpp-community/mcpp/actions/workflows/ci-macos.yml/badge.svg?branch=main)](https://github.com/mcpp-community/mcpp/actions/workflows/ci-macos.yml)
8-
[![ci-windows](https://github.com/mcpp-community/mcpp/actions/workflows/ci-windows.yml/badge.svg?branch=main)](https://github.com/mcpp-community/mcpp/actions/workflows/ci-windows.yml)
96
[![C++23](https://img.shields.io/badge/C%2B%2B-23-blue.svg)](https://en.cppreference.com/w/cpp/23)
107
[![Module](https://img.shields.io/badge/module-ok-green.svg)](https://en.cppreference.com/w/cpp/language/modules)
118
[![License](https://img.shields.io/badge/license-Apache_2.0-blue.svg)](LICENSE)
129

1310
| [文档](docs/) · [快速开始](docs/00-getting-started.md) · [mcpp.toml 指南](docs/05-mcpp-toml.md) · [示例项目](docs/01-examples.md) · [工具链管理](docs/03-toolchains.md) |
1411
|:---:|
1512
| [包索引 mcpp-index](https://github.com/mcpp-community/mcpp-index) · [模块化库 mcpplibs](https://github.com/mcpplibs) · [社区论坛](https://forum.d2learn.org/category/20) · [Issues](https://github.com/mcpp-community/mcpp/issues) · [Releases](https://github.com/mcpp-community/mcpp/releases) |
13+
| [![ci-linux](https://github.com/mcpp-community/mcpp/actions/workflows/ci-linux.yml/badge.svg?branch=main)](https://github.com/mcpp-community/mcpp/actions/workflows/ci-linux.yml) [![ci-macos](https://github.com/mcpp-community/mcpp/actions/workflows/ci-macos.yml/badge.svg?branch=main)](https://github.com/mcpp-community/mcpp/actions/workflows/ci-macos.yml) [![ci-windows](https://github.com/mcpp-community/mcpp/actions/workflows/ci-windows.yml/badge.svg?branch=main)](https://github.com/mcpp-community/mcpp/actions/workflows/ci-windows.yml) |
1614

1715
<p align="center">
1816
<img src="https://github.com/user-attachments/assets/6c85896e-9a37-4f62-acfb-d37a4eae2363" alt="mcpp demo" width="720">

0 commit comments

Comments
 (0)