mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Use specific commits when running tests
This ensures that build breaks to any of the test projects don’t immediately cause rgbds tests to fail. On clone, I’ve set it up to pull the commits since the day before the desired commit. Sadly, this will clone more recent commits that we’re not testing, but at least it ensures that the desired commit can be checked out. This is hopefully a good enough replacement for —depth=1. Signed-off-by: Ben10do <Ben10do@users.noreply.github.com>
This commit is contained in:
@@ -18,27 +18,30 @@ popd
|
|||||||
# When adding new ones, don't forget to add them to the .gitignore!
|
# When adding new ones, don't forget to add them to the .gitignore!
|
||||||
|
|
||||||
if [ ! -d pokecrystal ]; then
|
if [ ! -d pokecrystal ]; then
|
||||||
git clone https://github.com/pret/pokecrystal.git --depth=1
|
git clone https://github.com/pret/pokecrystal.git --shallow-since=2018-06-04 --single-branch
|
||||||
fi
|
fi
|
||||||
pushd pokecrystal
|
pushd pokecrystal
|
||||||
git pull
|
git fetch
|
||||||
|
git checkout 06e169d
|
||||||
make -j
|
make -j
|
||||||
make compare
|
make compare
|
||||||
popd
|
popd
|
||||||
|
|
||||||
if [ ! -d pokered ]; then
|
if [ ! -d pokered ]; then
|
||||||
git clone --recursive https://github.com/pret/pokered.git --depth=1
|
git clone --recursive https://github.com/pret/pokered.git --shallow-since=2018-03-23 --single-branch
|
||||||
fi
|
fi
|
||||||
pushd pokered
|
pushd pokered
|
||||||
git pull
|
git fetch
|
||||||
|
git checkout 98f09b6
|
||||||
make -j
|
make -j
|
||||||
make compare
|
make compare
|
||||||
popd
|
popd
|
||||||
|
|
||||||
if [ ! -d ucity ]; then
|
if [ ! -d ucity ]; then
|
||||||
git clone https://github.com/AntonioND/ucity.git --depth=1
|
git clone https://github.com/AntonioND/ucity.git --shallow-since=2018-06-05 --single-branch
|
||||||
fi
|
fi
|
||||||
pushd ucity
|
pushd ucity
|
||||||
git pull
|
git fetch
|
||||||
|
git checkout 9fc8f27
|
||||||
make -j
|
make -j
|
||||||
popd
|
popd
|
||||||
|
|||||||
Reference in New Issue
Block a user