Ubuntu and macOS Build Farm for Apache NuttX RTOS
Find a file
2024-11-13 23:29:11 +08:00
.github Create FUNDING.yml 2024-11-09 09:33:21 +08:00
.vscode Testing macOS 2024-11-09 10:12:46 +08:00
LICENSE Initial commit 2024-11-09 09:32:53 +08:00
patch-ci-macos.sh darwin_arm64.sh for macOS Build Farm: https://github.com/apache/nuttx/pull/14723 2024-11-12 08:47:37 +08:00
README.md Exclude groups 2024-11-10 17:17:32 +08:00
run-ci-macos.sh risc-v-05: CI Test may hang, we move to the end 2024-11-13 23:29:11 +08:00
run-job-macos.sh darwin_arm64.sh for macOS Build Farm: https://github.com/apache/nuttx/pull/14723 2024-11-12 08:47:37 +08:00
run.sh copy the patched "nuttx" folder to "nuttx-patched" 2024-11-09 19:04:38 +08:00

Ubuntu and macOS Build Farm for Apache NuttX RTOS

Ubuntu and macOS Build Farm for Apache NuttX RTOS

Read the articles...

Highly Esteemed Members of our NuttX Build Farm:

  1. jerpelea (Ubuntu)
  2. lvanasse (Ubuntu)
  3. nuttxpr (Ubuntu)
  4. 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