Skip to content

Commit 2c078da

Browse files
ryanofskyclaude
andcommitted
ci, build: replace CI workflows with thin wrappers
Splits the repository so C++ source stays on master and CI scripts, docs, and examples move to the support branch. Master's CI workflows become thin wrappers that delegate to the reusable workflows on the support branch. GitHub Actions changes: - ci.yml, bitcoin-core-ci.yml: replaced with thin wrappers that call the corresponding reusable workflows on the support branch. CMakeLists.txt: - Remove add_subdirectory(example): example/ moves to the support branch and is built from support's own CMakeLists.txt. README.md: - Update documentation links to point to the support branch. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent ae91362 commit 2c078da

4 files changed

Lines changed: 29 additions & 3 deletions

File tree

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Bitcoin Core CI
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
concurrency:
8+
group: ${{ github.workflow }}-${{ github.ref }}
9+
cancel-in-progress: true
10+
11+
jobs:
12+
bitcoin-core-ci:
13+
uses: bitcoin-core/libmultiprocess/.github/workflows/bitcoin-core-ci.yml@support
14+
secrets: inherit

.github/workflows/ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
ci:
9+
uses: bitcoin-core/libmultiprocess/.github/workflows/ci.yml@support
10+
secrets: inherit

CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,4 @@ add_custom_target(install-lib
265265
VERBATIM)
266266
add_dependencies(install-lib multiprocess)
267267

268-
# Example and test subdirectories
269-
add_subdirectory(example EXCLUDE_FROM_ALL)
270268
add_subdirectory(test EXCLUDE_FROM_ALL)

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22

33
`libmultiprocess` is a C++ library and code generator making it easy to call functions and reference objects in different processes.
44

5-
For more information see the [usage instructions](doc/usage.md), [installation instructions](doc/install.md), or [design documentation](doc/design.md).
5+
For more information see the [usage instructions](https://github.com/bitcoin-core/libmultiprocess/blob/support/doc/usage.md), [installation instructions](https://github.com/bitcoin-core/libmultiprocess/blob/support/doc/install.md), or [design documentation](https://github.com/bitcoin-core/libmultiprocess/blob/support/doc/design.md) in the [support branch](https://github.com/bitcoin-core/libmultiprocess/tree/support). In a local checkout, the following command will check out the support branch, which includes CI scripts, documentation, and examples, to a subdirectory called `support`:
6+
7+
```bash
8+
git worktree add support
9+
```
610

711
If you have any questions, comments, or feedback, please submit an [issue](https://github.com/bitcoin-core/libmultiprocess/issues/new).
812
Duplicate issues are perfectly fine and all discussion about the project is welcome, since there isn't another discussion forum currently.

0 commit comments

Comments
 (0)