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 Oct 31, 2021
1 parent 0ce6600 commit 9e1c680
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 @@ -52,3 +51,23 @@ git checkout 15be184b26b337110e1ec2998cd42f134f00f281
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 4299834bbc5ea6388383b5091b54f1ea4cd5c66b
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 11b4cc7a4665fbb226d6aac898379aed604189b9
make clean
make -dr RGBDS=../../ RGBASM='../../rgbasm -v'
popd

0 comments on commit 9e1c680

Please sign in to comment.