Minor improvement for tools/ci: Fixed cmake build of bloaty and installation in darwin.sh script.
function bloaty() Add -D CMAKE_INSTALL_PREFIX="${NUTTXTOOLS}"/bloaty. Improves workflow execution time because it is now cached. Changed reference file to calculate the hash for key of actions/cache@v4. Now it is darwin.sh.
This commit is contained in:
parent
8d14f4eaac
commit
4d6f4d00b0
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -192,7 +192,7 @@ jobs:
|
|||||||
cache-name: ${{ runner.os }}-cache-tools
|
cache-name: ${{ runner.os }}-cache-tools
|
||||||
with:
|
with:
|
||||||
path: ./sources/tools
|
path: ./sources/tools
|
||||||
key: ${{ runner.os }}-tools-${{ hashFiles('./sources/nuttx/tools/ci/cibuild.sh') }}
|
key: ${{ runner.os }}-tools-${{ hashFiles('./sources/nuttx/tools/ci/platforms/darwin.sh') }}
|
||||||
|
|
||||||
- name: Export NuttX Repo SHA
|
- name: Export NuttX Repo SHA
|
||||||
run: echo "nuttx_sha=`git -C sources/nuttx rev-parse HEAD`" >> $GITHUB_ENV
|
run: echo "nuttx_sha=`git -C sources/nuttx rev-parse HEAD`" >> $GITHUB_ENV
|
||||||
|
Loading…
x
Reference in New Issue
Block a user