diff --git a/.github/workflows/docker-adplay-build.yml b/.github/workflows/docker-adplay-build.yml index 1d2005f..a02141a 100644 --- a/.github/workflows/docker-adplay-build.yml +++ b/.github/workflows/docker-adplay-build.yml @@ -93,6 +93,21 @@ jobs: pushd adplay make gcc_version=${{ matrix.gcc_compiler }} binarydist popd + - name: Test AdPlay for DOS (batch player) + run: | + # This tests basic batch player functionality + # It does NOT test specific formats, this is already handled through Adplug specific tests, which are also run for DOS. + # It also does NOT test any GUI interaction + pushd adplay + # Install dosemu2 for testing + sudo add-apt-repository -y ppa:dosemu2/ppa + sudo apt install -y dosemu2 unzip + # We need CWSDPMI as well if we want to run any DOS programs. + wget https://www.delorie.com/pub/djgpp/current/v2misc/csdpmi7b.zip + unzip -j -o "csdpmi7b.zip" "bin/CWSDPMI.EXE" + cp ../adplug/test/testmus/loudness.lds . + # Command below will execute AdPlay for Dos in dosemu, dosemu will relay the exitcode back, which in turn will be interpreted by the GitHub run action + dosemu adplay.exe -dumb /q loudness.lds - name: Tag this version 'latest' env: