[CI] Introduce a make check-parallel-builds recipe#3030
Merged
jimklimov merged 11 commits intonetworkupstools:masterfrom Jul 29, 2025
Merged
[CI] Introduce a make check-parallel-builds recipe#3030jimklimov merged 11 commits intonetworkupstools:masterfrom
make check-parallel-builds recipe#3030jimklimov merged 11 commits intonetworkupstools:masterfrom
Conversation
…nd it has work to do only once [follows up from PR networkupstools#2825] In practice we do call it as many times as there are listed dependency files, but it only generates them on the first run and quicky bails out later on. This should help avoid writing into same files in parallel, ending up with garbled or incomplete files when we want to use them. Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…ersion better [networkupstools#3030] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…and subdriver); add Tescom LEO Plus LCD 1500A which works with same config [networkupstools#981] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…ipe [follows up from PR networkupstools#2825] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…ncies [follows up from PR networkupstools#2825, highlights why issue networkupstools#2584 better be solved] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…k-parallel-builds" [networkupstools#3030] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
jimklimov
added a commit
to jimklimov/nut
that referenced
this pull request
Jul 28, 2025
…rom main build; troubleshoot gitlog2version [networkupstools#3030] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
jimklimov
added a commit
to jimklimov/nut
that referenced
this pull request
Jul 28, 2025
…rom main build; troubleshoot gitlog2version [networkupstools#3030] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…rom main build; troubleshoot gitlog2version [networkupstools#3030] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…UNK" or "git describe", check and report if the current checkout is shallow [networkupstools#3030] CI builds often do check out the built commit with minimal "depth" (often having just it), which is much faster, cheaper computationally and by traffic. This however precludes finding history intersections of current (single-commit) tree with other trees even if we fetch them. Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
|
❌ Build nut 2.8.3.3397-master failed (commit 440fc6eb8c by @jimklimov) |
|
✅ Build nut 2.8.3.3399-master completed (commit 10a4351147 by @jimklimov) |
jimklimov
added a commit
to jimklimov/nut
that referenced
this pull request
Jul 28, 2025
…ersion better [networkupstools#3030] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
jimklimov
added a commit
to jimklimov/nut
that referenced
this pull request
Jul 28, 2025
…mmit if known, even if we fall back to built-in version otherwise [networkupstools#3030] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…mmit if known, even if we fall back to built-in version otherwise [networkupstools#3030] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
This was referenced Jul 29, 2025
jimklimov
added a commit
to jimklimov/nut
that referenced
this pull request
Jul 29, 2025
…tmp.$$" filenames to fix parallel builds [networkupstools#3030] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
jimklimov
added a commit
to jimklimov/nut
that referenced
this pull request
Jul 29, 2025
…tmp.$$" filenames to fix parallel builds [networkupstools#3030] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
jimklimov
added a commit
to jimklimov/nut
that referenced
this pull request
Jul 29, 2025
…nclient.la (for libupsclient-version.h) so bolt it into deps list [networkupstools#3030] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
jimklimov
added a commit
to jimklimov/nut
that referenced
this pull request
Jul 29, 2025
…nclient.la (for libupsclient-version.h) so bolt it into deps list [networkupstools#3030] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
jimklimov
added a commit
to jimklimov/nut
that referenced
this pull request
Jul 30, 2025
…=false (to speed up runs where developer/CI did not change recipes anyway) [networkupstools#3030] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
jimklimov
added a commit
to jimklimov/nut
that referenced
this pull request
Jul 30, 2025
…PE="default-all-errors*" [networkupstools#3030] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
jimklimov
added a commit
to jimklimov/nut
that referenced
this pull request
Jul 30, 2025
…investigate failures [networkupstools#3030] Notably, MAKEFLAGS may include the "make" options without the leading dash, or other values that did not have one originally. Better leave it as an environment variable and let the particular "make" program deal with it. Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
jimklimov
added a commit
to jimklimov/nut
that referenced
this pull request
Jul 30, 2025
…MAKES_OPT() code to be reusable [networkupstools#3030] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
jimklimov
added a commit
to jimklimov/nut
that referenced
this pull request
Jul 30, 2025
…builds=no label [networkupstools#3030] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
jimklimov
added a commit
to jimklimov/nut
that referenced
this pull request
Jul 30, 2025
…ault-all-errors [networkupstools#3030] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
jimklimov
added a commit
to jimklimov/nut
that referenced
this pull request
Jul 30, 2025
…workupstools#3030] It is now invoked where applicable for scenarios with `BUILD_TYPE=default-all-errors*` and note it was not buildable as added anyway (earlier ci_build.sh wiped the work area). Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
jimklimov
added a commit
to jimklimov/nut
that referenced
this pull request
Aug 1, 2025
…false as a make argument also, not just envvar [networkupstools#3030] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
jimklimov
added a commit
to jimklimov/nut
that referenced
this pull request
Aug 1, 2025
…lddir when starting operations relative to it [networkupstools#3030] Be pedantic to work around some quirk in NetBSD 9.2 bmake essentially. Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
jimklimov
added a commit
to jimklimov/nut
that referenced
this pull request
Aug 1, 2025
…*.h [networkupstools#3030] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
jimklimov
added a commit
to jimklimov/nut
that referenced
this pull request
Mar 28, 2026
…th NUT CI envvars for limited parallelism, fix spellcheck-quick [networkupstools#2871, networkupstools#3030]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Make sure (parallel) builds started from scratch in NUT subdirs with code are viable recipe-wise, and add a way to keep making sure in the future :)
Not attached to NUT CI farm runs currently, but added to other CI hosting pipelines (GHA/CodeQL, CircleCI).
Piggy-back a few small fixes elsewhere.