Home
/compilefromsourceproot
name: Build PRoot
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout PRoot source code
uses: actions/checkout@v4
with:
repository: proot-me/proot # Or your own fork
submodules: recursive
- name: Install build dependencies
run: |
sudo apt-get update
sudo apt-get install -y build-essential libtalloc-dev python3
- name: Compile PRoot
run: |
# PRoot's standard Makefile build process
make -C src loader.elf loader-m32.elf build.h
make -C src proot care
- name: Upload compiled binary artifact
uses: actions/upload-artifact@v4
with:
name: proot-binary
path: src/proot