From 5e12d9e8c3c70362ad9b7ea8707678f2e7f7bdc3 Mon Sep 17 00:00:00 2001 From: Tim Stirrat Date: Mon, 29 Jul 2024 13:47:41 +0200 Subject: [PATCH] ... --- .github/workflows/test.yml | 2 +- tests/Makefile | 15 +++++++++++---- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c378be4..8bb1e8b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -57,7 +57,7 @@ jobs: working-directory: ./tests/build - name: test single rom (bash) run: | - wine ../bgb/bgb.exe -set "DebugSrcBrk=1" -autoexit -hf -stateonexit -screenonexit build/wav_test_load_and_play.bmp -rom build/wav_test_load_and_play.gb + wine ../bgb/bgb.exe -autoexit -hf -stateonexit -screenonexit build/wav_test_load_and_play.bmp -rom build/wav_test_load_and_play.gb working-directory: ./tests - run: | ls -alF diff --git a/tests/Makefile b/tests/Makefile index e9b1e2b..285f813 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -8,7 +8,7 @@ OBJS = $(TESTS:%.c=$(BLDDIR)/%.o) TESTROMS = $(TESTS:%.c=$(BLDDIR)/%.gb) BGBDIR = ../bgb - +# GBDKDIR = ../gbdk all: clean mkdirs $(BGBDIR) build-all @@ -21,9 +21,16 @@ mkdirs: mkdir -p $(BLDDIR) $(BGBDIR): - wget https://bgb.bircd.org/bgbw64.zip - unzip -jo -qq bgbw64.zip -d ../bgb - rm bgbw64.zip + wget https://bgb.bircd.org/bgb.zip + unzip -jo -qq bgb.zip -d ../bgb + rm bgb.zip + +# gbdk-linux64.tar.gz: +# wget https://github.com/gbdk-2020/gbdk-2020/releases/download/4.3.0/gbdk-linux64.tar.gz + +# $(GBDKDIR): +# tar -zxvf gbdk-linux64.tar.gz -C $(GBDKDIR) +# # rm gbdk-linux64.tar.gz $(BLDDIR)/%.gb: $(MYDIR)/%.c mkdirs $(BGBDIR) $(CC) -o $@ $<