mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-20 15:19:07 +01:00
1b8d4a6f1e54 Merge bitcoin-core/libmultiprocess#194: mpgen: Work around c++20 / capnproto 0.8 incompatibility f1fad396bf5f Merge bitcoin-core/libmultiprocess#195: ci: Add openbsd eed42f210d17 ci: Bump all tasks to actions/checkout@v5 486a510bbeff ci: Remove ancient and problematic -lstdc++fs in mpexample dd40897efe79 Add missing thread include 98414e7d2867 ci: Add openbsd dc3ba2204606 cmake, doc: Add check for CVE-2022-46149 cb170d4913a2 Merge bitcoin-core/libmultiprocess#193: build: require CapnProto 0.7.0 or better 8ceeaa6ae401 ci: Add olddeps job to test old dependencies versions c4cb758eccb5 mpgen: Work around c++20 / capnproto 0.8 incompatibility 30930dff7b06 build: require CapnProto 0.7.0 or better git-subtree-dir: src/ipc/libmultiprocess git-subtree-split: 1b8d4a6f1e54b92708bd2ad627ec6d440a1daf3d
27 lines
1003 B
Markdown
27 lines
1003 B
Markdown
### CI quick-reference
|
||
|
||
All CI is just bash and nix.
|
||
|
||
* **Workflow**:
|
||
- `.github/workflows/ci.yml` – lists the jobs (`default`, `llvm`, …).
|
||
* **Scripts**:
|
||
- `ci/scripts/run.sh` – spins up the Nix shell then calls…
|
||
- `ci/scripts/ci.sh` – …to configure, build, and test.
|
||
* **Configuration**:
|
||
- `ci/configs/*.sh` – defines flags for each job.
|
||
- `shell.nix` – defines build environment (compilers, tools, libraries).
|
||
* **Build directories**:
|
||
- `build-*/` – separate build directories (like `build-default`, `build-llvm`) will be created for each job.
|
||
|
||
To run jobs locally:
|
||
|
||
```bash
|
||
CI_CONFIG=ci/configs/default.bash ci/scripts/run.sh
|
||
CI_CONFIG=ci/configs/llvm.bash ci/scripts/run.sh
|
||
CI_CONFIG=ci/configs/gnu32.bash ci/scripts/run.sh
|
||
CI_CONFIG=ci/configs/sanitize.bash ci/scripts/run.sh
|
||
CI_CONFIG=ci/configs/olddeps.bash ci/scripts/run.sh
|
||
```
|
||
|
||
By default CI jobs will reuse their build directories. `CI_CLEAN=1` can be specified to delete them before running instead.
|