Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ jobs:
- name: Set up test environment
run: |
./ci_test_prereq.sh
make demos -j 9
./ci_test.sh
15 changes: 15 additions & 0 deletions ci_test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/sh

set -e -x

make demos -j 9
cd demos/hello
ls -l hello
make host.elf
RESULT=`DJ64_DUMB_VIDEO=1 ./host.elf | dos2unix`
if [ "$RESULT" != "Hello World!" ]; then
echo "bad test output: $RESULT"
echo "Test FAILED"
exit 1
fi
echo "Test PASSED"
4 changes: 2 additions & 2 deletions ci_test_prereq.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh

sudo add-apt-repository ppa:stsp-0/dj64
sudo apt install -y \
djstub
sudo add-apt-repository ppa:dosemu2/ppa
sudo apt install -y djstub dj64-host dos2unix
Loading