nuttx-build-farm/run.sh

21 lines
467 B
Bash
Raw Normal View History

2024-11-09 10:12:46 +08:00
#!/usr/bin/env bash
2024-12-08 10:06:52 +08:00
## Run NuttX Build Farm for macOS
## Read the article: https://lupyuen.github.io/articles/ci5
2024-11-09 10:12:46 +08:00
2024-11-09 10:24:07 +08:00
## Set the GitHub Token
## export GITHUB_TOKEN=...
. $HOME/github-token-macos.sh
2024-12-08 10:06:52 +08:00
## Or GitLab Token
## export GITLAB_TOKEN=...
## . $HOME/gitlab-token-macos.sh
2024-11-09 11:55:09 +08:00
set -e # Exit when any command fails
set -x # Echo commands
2024-11-09 10:12:46 +08:00
## Run All NuttX CI Jobs on macOS
./run-ci-macos.sh
2024-11-09 15:23:17 +08:00
## Run One Single NuttX CI Job on macOS
2024-12-08 10:06:52 +08:00
## ./run-job-macos.sh risc-v-05