mirror of
https://github.com/lupyuen/nuttx-build-farm.git
synced 2025-01-13 07:38:31 +08:00
Ubuntu and macOS Build Farm for Apache NuttX RTOS
.github | ||
.vscode | ||
LICENSE | ||
patch-ci-macos.sh | ||
README.md | ||
run-ci-macos.sh | ||
run-job-macos.sh | ||
run.sh |
Ubuntu and macOS Build Farm for Apache NuttX RTOS
Read the articles...
Highly Esteemed Members of our NuttX Build Farm:
- jerpelea (Ubuntu)
- lvanasse (Ubuntu)
- nuttxpr (Ubuntu)
- nuttxmacos (macOS)
To Join Ubuntu Build Farm:
Please tell me your Gist ID. See "Build NuttX for All Target Groups".
## TODO: Install Docker Engine
## https://docs.docker.com/engine/install/ubuntu/
## Download the scripts
git clone https://github.com/lupyuen/nuttx-release
cd nuttx-release
## Login to GitHub in Headless Mode
sudo apt install gh
sudo gh auth login
## (1) What Account: "GitHub.com"
## (2) Preferred Protocol: "HTTPS"
## (3) Authenticate GitHub CLI: "Login with a web browser"
## (4) Copy the One-Time Code, press Enter
## (5) Press "q" to quit the Text Browser that appears
## (6) Switch to Firefox Browser and load https://github.com/login/device
## (7) Enter the One-Time Code. GitHub Login will proceed.
## See https://stackoverflow.com/questions/78890002/how-to-do-gh-auth-login-when-run-in-headless-mode
## Run the Build Job forever: arm-01 ... arm-14
sudo ./run-ci.sh
(GitHub Token should also work, see below)
To Join macOS Build Farm:
Please tell me your Gist ID:
## Install the tools
brew install gh neofetch
## Download the scripts
git clone https://github.com/lupyuen/nuttx-build-farm
cd nuttx-build-farm
## Set the GitHub Token: export GITHUB_TOKEN=...
## To create GitHub Token: GitHub Settings > Developer Settings > Tokens (Classic) > Generate New Token (Classic)
## Check the following:
## repo (Full control of private repositories)
## repo:status (Access commit status)
## repo_deployment (Access deployment status)
## public_repo (Access public repositories)
## repo:invite (Access repository invitations)
## security_events (Read and write security events)
## gist (Create gists)
. $HOME/github-token-macos.sh
## Start the macOS Build Task
./run-ci-macos.sh
## To re-download the toolchain:
## rm -rf /tmp/run-job-macos