Mac BASH update for CI scripts (#2400)
This commit is contained in:
parent
226a318897
commit
cde5fe3de5
2 changed files with 10 additions and 2 deletions
7
.github/workflows/pull-request.yml
vendored
7
.github/workflows/pull-request.yml
vendored
|
|
@ -187,11 +187,16 @@ jobs:
|
|||
mod: 500
|
||||
rem: 1
|
||||
run: |
|
||||
brew update
|
||||
brew install bash
|
||||
/usr/bin/env bash --version
|
||||
uname -a
|
||||
cd pico-sdk
|
||||
git submodule update --init
|
||||
cd ..
|
||||
bash ./tests/build.sh
|
||||
/usr/bin/env bash ./tests/build.sh
|
||||
./system/picotool/picotool version
|
||||
otool -L ./system/picotool/picotool
|
||||
|
||||
# Build a few examples with PlatformIO to test if integration works
|
||||
build-platformio:
|
||||
|
|
|
|||
|
|
@ -112,7 +112,10 @@ function build_sketches()
|
|||
mv $build_dir/build.options.json.tmp $build_dir/build.options.json
|
||||
# Set the time of the cached core.a file to the future so the GIT header
|
||||
# we regen won't cause the builder to throw it out and rebuild from scratch.
|
||||
touch -d 'now + 1 day' $cache_dir/core/*.a
|
||||
uname -a | grep -qi darwin
|
||||
if [ $? == 1 ]; then
|
||||
touch -d 'now + 1 day' $cache_dir/core/*.a
|
||||
fi
|
||||
fi
|
||||
|
||||
# Clear out the last built sketch, map, elf, bin files, but leave the compiled
|
||||
|
|
|
|||
Loading…
Reference in a new issue