Build automation with Telegram and GitHub Integrations.
Steps (as root):
- Install git, ciel, pushpkg, rustc (with Cargo), compiler toolchain (LLVM/Clang)
mkdir -p /buildroots/buildit
cd /buildroots/buildit && git clone https://github.com/AOSC-Dev/buildit
cd /buildroots/buildit && ciel new
, making sure to create an instance named "main" when askedcp /buildroots/buildit/buildit/systemd/buildit-worker.service /etc/systemd/system
$EDITOR /etc/systemd/system/buildit-worker.service
:update ARCH$EDITOR /buildroots/buildit/buildit/.env
: set BUILDIT_SERVER, BUILDIT_WORKER_SECRET BUILDIT_SSH_KEY and BUILDIT_WORKER_PERFORMANCE; for workers in China, optionally update BUILDIT_RSYNC_HOST to repo-cn.aosc.iosystemctl enable --now buildit-worker
chmod 600 /buildroots/buildit/buildit/.env
- Setup SSH key of AOSC Maintainers at the location of BUILDIT_SSH_KEY
- Add SSH known hosts from repo.aosc.io and github.com:
ssh-keyscan repo.aosc.io >> ~/.ssh/known_hosts && ssh-keyscan repo-cn.aosc.io >> ~/.ssh/known_hosts && ssh-keyscan github.com >> ~/.ssh/known_hosts
Arch-specific notes:
- Add
RUSTFLAGS="-C link-arg=-fuse-ld=gold"
environment for loongson3