Skip to content

Commit

Permalink
Add gb-boilerplate and gb-starter-kit to test suite
Browse files Browse the repository at this point in the history
Fixes gbdev#849
  • Loading branch information
ISSOtm committed Apr 30, 2022
1 parent 19c85a7 commit 10d074c
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
2 changes: 2 additions & 0 deletions test/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/gb-boilerplate/
/gb-starter-kit/
/pokecrystal/
/pokered/
/ucity/
21 changes: 20 additions & 1 deletion test/run-tests.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/usr/bin/env bash

# Return failure as soon as a command fails to execute

set -e

cd "$(dirname "$0")"
Expand Down Expand Up @@ -54,3 +53,23 @@ git checkout d8878233da7a6569f09f87b144cb5bf140146a0f
make clean
make -j4 RGBDS=../../
popd

if [ ! -d gb-boilerplate ]; then
git clone https://github.com/ISSOtm/gb-boilerplate.git --shallow-since=2020-11-01 --single-branch --recursive
fi
pushd gb-boilerplate
git fetch
git checkout b5343affca1d7c57df286de83ac55b3d19b9996d
make clean
make -j4 RGBDS=../../
popd

if [ ! -d gb-starter-kit ]; then
git clone https://github.com/ISSOtm/gb-starter-kit.git --shallow-since=2020-11-01 --single-branch --recursive
fi
pushd gb-starter-kit
git fetch
git checkout 7d6bdc70ae44c6c3d3046a033e0bd95cc81281fb
make clean
make -dr RGBDS=../../ RGBASM='../../rgbasm -v'
popd

0 comments on commit 10d074c

Please sign in to comment.