Skip to content
Open
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
15 changes: 15 additions & 0 deletions .github/workflows/docker-adplay-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Loading