Compare commits
3 Commits
5b6f35f480
...
6dea33bc22
| Author | SHA1 | Date | |
|---|---|---|---|
| 6dea33bc22 | |||
| 11e8e1355a | |||
| 39b04d3829 |
@ -53,14 +53,14 @@ jobs:
|
|||||||
sudo pacman -S --needed --noconfirm $MAKEDEPS
|
sudo pacman -S --needed --noconfirm $MAKEDEPS
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Resource-constrained build. The act_runner shares CPU/RAM/I/O
|
# Parallel build with two cargo jobs. Previous single-threaded
|
||||||
# with the Gitea host (network-host mode). A parallel Rust build
|
# throttling was based on an unverified OOM assumption (run 86
|
||||||
# has OOM-killed the host: run 86 on 2026-04-23 stopped mid-compile
|
# on 2026-04-23 stalled; no dmesg/journalctl evidence of
|
||||||
# with no error, taking gitea HTTPS down ~11 min. Force single-job
|
# OOMKiller was ever captured). If a real OOM happens, capture
|
||||||
# compile and low CPU/IO priority so the host stays responsive.
|
# `dmesg | grep -i "killed process"` first before re-throttling.
|
||||||
export CARGO_BUILD_JOBS=1
|
export CARGO_BUILD_JOBS=2
|
||||||
export MAKEFLAGS="-j1"
|
export MAKEFLAGS="-j2"
|
||||||
nice -n 19 ionice -c 3 makepkg -sfd --noconfirm
|
makepkg -sfd --noconfirm
|
||||||
|
|
||||||
# makepkg can emit multiple artifacts per build (main + -debug
|
# makepkg can emit multiple artifacts per build (main + -debug
|
||||||
# split package). Upload each. Arch filename convention:
|
# split package). Upload each. Arch filename convention:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user