Skip to content

Commit

Permalink
Merge #555: ci: do git clean before setting up keepkey
Browse files Browse the repository at this point in the history
7d811cb ci: do git clean before setting up keepkey (Andrew Chow)

Pull request description:

  Need to make sure that nanopb does not exist before cloning. `git clean` takes care of this, as well as removing anything else that could potentially be problematic.

Top commit has no ACKs.

Tree-SHA512: 0b6eb432bcce24a3df4c856f0edc37cd778d082bc8052f18baa5d771ca3c60084e665c591eda189844f69a436899cf757c838400a1cd7ad08d10c5eab82730bf
  • Loading branch information
achow101 committed Dec 13, 2021
2 parents 63fa38a + 7d811cb commit f1949af
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/setup_environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ if [[ -n ${build_keepkey} ]]; then

# Build the simulator. This is cached, but it is also fast
if [ "$keepkey_setup_needed" == true ] ; then
git clean -ffdx
git clone https://github.com/nanopb/nanopb.git -b nanopb-0.3.9.4
fi
cd nanopb/generator/proto
Expand Down

0 comments on commit f1949af

Please sign in to comment.