mirror of
https://github.com/lupyuen/pinephone-nuttx.git
synced 2025-01-12 20:58:34 +08:00
Update pinephone.yml
This commit is contained in:
parent
c027a49009
commit
1d3433a516
1 changed files with 10 additions and 2 deletions
12
.github/workflows/pinephone.yml
vendored
12
.github/workflows/pinephone.yml
vendored
|
@ -43,13 +43,21 @@ jobs:
|
|||
cd nuttx
|
||||
git clone https://github.com/apache/nuttx nuttx
|
||||
git clone https://github.com/apache/nuttx-apps apps
|
||||
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
## Add toolchain to PATH
|
||||
export PATH=$PATH:$PWD/arm-gnu-toolchain-12.2.rel1-x86_64-aarch64-none-elf/bin
|
||||
cd nuttx/nuttx
|
||||
|
||||
|
||||
## Dump the git hash
|
||||
git status && hash1=`git rev-parse HEAD`
|
||||
pushd ../apps
|
||||
git status && hash2=`git rev-parse HEAD`
|
||||
popd
|
||||
echo NuttX Source: https://github.com/apache/nuttx/tree/$hash1 >nuttx.hash
|
||||
echo NuttX Apps: https://github.com/apache/nuttx-apps/tree/$hash2 >>nuttx.hash
|
||||
|
||||
## Configure the build
|
||||
./tools/configure.sh pinephone:lvgl
|
||||
|
||||
|
|
Loading…
Reference in a new issue