Update pinephone.yml

This commit is contained in:
Lup Yuen Lee 2023-08-11 18:16:00 +08:00 committed by GitHub
parent c027a49009
commit 1d3433a516
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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