Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions .github/workflows/library.yml
Original file line number Diff line number Diff line change
Expand Up @@ -490,15 +490,19 @@ jobs:
name: Lint (${{ matrix.shard }}/${{ strategy.job-total }})
needs: plan
runs-on: ubuntu-24.04
# A shard took up to 56 minutes on main (run 43689720995) and over 60 on
# webcpporg/webcpp#17 (runs 43757162271, 43809686703, 43893730166), where 60 cancelled
# it: which files a shard draws changes with every file the list gains, and the runners'
# speed varies.
# Every shard writes the same compilation database, then analyses its slice. With eight
# shards, on main's runs 43883027557, 43991796754, 44060501712 and 44061028543, the
# database took 12 to 15 minutes on most runners and the slice 17 to 25: the slices weigh
# alike, each 1.2 to 1.7 times its own runner's database. A runner one in eight times
# runs at half that speed, the database in 26 minutes, so its shard took 67 to 72 minutes,
# and over 60 cancelled Lint (5/8) and Lint (2/8). Twelve shards cut the slice by a third:
# such a runner's shard takes about 57 minutes, the others 30 to 40; 90 leaves a third
# spare for the slower runner and the files to come.
timeout-minutes: 90
strategy:
fail-fast: false
matrix:
shard: [1, 2, 3, 4, 5, 6, 7, 8]
shard: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
steps:
# The whole history, of the superproject and of every library: the banned-word rule reads
# every commit, not only the tree.
Expand Down
8 changes: 4 additions & 4 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -1733,10 +1733,10 @@ jobs:
`external` is `true`, the
external libraries, built with Clang 18, whose headers the reference of
the library, or of a library it uses, parses (none today).
- **lint:** `tools/lint/lint.sh` in eight shards (`--shard 1/8` to `8/8`),
with wasi-sdk's clang-format and clang-tidy, Node, Clang 18 as b2's default
toolset and the wasip2 and wasip3 toolsets after it (`matrix.py register
clang-18 wasip2 wasip3`), wit-bindgen and the WASI WIT, which the WASI dry
- **lint:** `tools/lint/lint.sh` in twelve shards (`--shard 1/12` to
`12/12`), with wasi-sdk's clang-format and clang-tidy, Node, Clang 18 as
b2's default toolset and the wasip2 and wasip3 toolsets after it
(`matrix.py register clang-18 wasip2 wasip3`), wit-bindgen and the WASI WIT, which the WASI dry
runs of the compilation database need; when the plan's `has-emscripten`
is `true`, the emscripten toolset after them and emsdk, without its system
libraries (`libraries: 'false'`), whose `em++` the emscripten dry run
Expand Down
1 change: 1 addition & 0 deletions doc/releases/0.1.0.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ None.
* Fixed driven-test execution and descendant cleanup on Windows.
* Fixed driven-test executable reuse for Windows and WASI builds.
* Improved lint preparation by separating OpenSSL headers from archive builds and upstream tests.
* Changed the CI's lint to twelve shards, which a slow runner no longer takes past its time limit.
* Added the user's Jamfiles of webcpp::crypto, tested as fixtures of a test of the tools.
* Added same-as: to crypto's user Jamfiles test, which keeps copied programs identical.
* Added not-contains: to crypto's user Jamfiles test, which shows the canary is a library's only link error.
Expand Down
2 changes: 1 addition & 1 deletion libs/crypto
Loading