Skip to content

Commit

Permalink
Update subproject commits and shallow dates
Browse files Browse the repository at this point in the history
Added a comment to explain what to update those to, too
  • Loading branch information
ISSOtm committed Mar 13, 2022
1 parent a4ead0c commit 570cd62
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions test/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,23 +22,25 @@ done

# Test some significant external projects that use RGBDS
# When adding new ones, don't forget to add them to the .gitignore!
# When updating subprojects, change the commit being checked out, and set the `shallow-since`
# to the day before, to reduce the amount of refs being transferred and thus speed up CI.

if [ ! -d pokecrystal ]; then
git clone https://github.com/pret/pokecrystal.git --shallow-since=2021-04-01 --single-branch
git clone https://github.com/pret/pokecrystal.git --shallow-since=2022-03-12 --single-branch
fi
pushd pokecrystal
git fetch
git checkout b8fc67848e1d5911204fa42bbd9b954fdec6228a
git checkout a3e31d6463e6313aed12ebc733b3f772f2fc78d7
make clean
make -j4 compare RGBDS=../../
popd

if [ ! -d pokered ]; then
git clone --recursive https://github.com/pret/pokered.git --shallow-since=2021-04-01 --single-branch
git clone https://github.com/pret/pokered.git --shallow-since=2022-03-07 --single-branch
fi
pushd pokered
git fetch
git checkout 0af787ea6d42d6f9c16f952b46519ab94f356abb
git checkout a75dd222709c92ae136d835ff2451391d5a88e45
make clean
make -j4 compare RGBDS=../../
popd
Expand Down

0 comments on commit 570cd62

Please sign in to comment.