The self-hosted runner runs unprivileged, so the dependency installer cannot add packages itself. Document the one-off pacman command and the passwordless sudo alternative next to the release workflow.
This commit is contained in:
1 file changed
+15
@@ -93,6 +93,21 @@ construire le commit publié plutôt que la tête de `main`.
|
||||
`packaging/check-version.sh` vérifie avant le build que `version`,
|
||||
`kitty/constants.py` et `pkgver` ci-dessus sont identiques.
|
||||
|
||||
### Runner
|
||||
|
||||
Les jobs tournent sur un runner Arch auto-hébergé (label `arch-host`).
|
||||
`packaging/install-ci-deps.sh` installe ce qui manque, mais `pacman` a besoin
|
||||
de root : soit le runner a un sudo sans mot de passe pour `pacman`, soit les
|
||||
paquets sont préinstallés une fois sur la machine :
|
||||
|
||||
```sh
|
||||
sudo pacman -S --needed go rsync ruff shader-slang libcanberra simde \
|
||||
wayland-protocols wayland-utils kitty-shell-integration kitty-terminfo
|
||||
```
|
||||
|
||||
Une fois installés, le script est un no-op et les jobs n'utilisent plus de
|
||||
privilège.
|
||||
|
||||
Pour publier à la main :
|
||||
|
||||
```sh
|
||||
|
||||
Reference in new issue
Block a user