Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run tests in qemu in GitHub action #79

Draft
wants to merge 56 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
0f849f1
ci: Use pre-built DJGPP image in GitHub Actions Workflows, so DJGPP d…
volkertb Dec 19, 2023
7bbae20
ci: Update temporarily allowlisted branch, to test the build-and-rele…
volkertb Dec 19, 2023
301d8e4
ci: Update .github/workflows/02-pr-checks.yml
volkertb Dec 20, 2023
7700fae
ci: Update .github/workflows/01-build-and-release.yml
volkertb Dec 20, 2023
d4eea95
ci: Update workflows to work with `debian-djgpp` container image
volkertb Dec 20, 2023
5a786c1
ci: Move shellcheck of artifacts build script to separate `lint` job …
volkertb Dec 20, 2023
3b06b6d
test: Add initial KVM test in GitHub Actions Workflow
volkertb Jan 20, 2024
9db52b4
test: Try KVM test assuming root already, `sudo` isn't even present i…
volkertb Jan 20, 2024
7da81ec
ci: Temporarily disable container, run under `ubuntu-latest` in GitHu…
volkertb Jan 20, 2024
9b14604
ci: Use Docker image again in GitHub Actions Workflow, and provide ac…
volkertb Jan 20, 2024
743931d
ci: At least one mandatory step required in job, so let's just add one
volkertb Jan 20, 2024
5a79db8
ci: Run container based on Docker image with default entrypoint as a …
volkertb Jan 20, 2024
547403a
test: Trying something that should deliberately fail, to troubleshoot…
volkertb Jan 20, 2024
1405361
ci: Try passing on Docker options in another way (although this way, …
volkertb Jan 20, 2024
ea902c8
ci: In the step, run the same QEMU launch script that the default ent…
volkertb Jan 20, 2024
6353642
test: Try running SBEMU in a DOS VM under KVM-accelerated QEMU in Git…
volkertb Jan 20, 2024
179d604
ci: Check out repository before running shellcheck on build script, m…
volkertb Jan 20, 2024
b90a5a6
test: Download and HDPMI32i as part of test, since SBEMU won't run wi…
volkertb Jan 20, 2024
e7dd2b5
test: Add AIL/32 files from http://www.thegleam.com/ke5fx/misc/AIL2.Z…
volkertb Jan 20, 2024
5b647fd
test: Copy test dependencies along with built EXE as test artifacts, …
volkertb Jan 20, 2024
863cf9b
test: Debug why downoaded test dependencies are not where they are ex…
volkertb Jan 20, 2024
56ab093
ci: Apparently, actions/upload-artifact@v4 and actions/download-artif…
volkertb Jan 20, 2024
d0c2e26
fix: Replace forward slash with backslash in DOS path :)
volkertb Jan 20, 2024
2703fc2
test: In CICD_DOS.BAT, rename dos32a.exe to dos4gw.exe before running…
volkertb Jan 20, 2024
532e6f5
ci: Update to newer version of `cicd-qemu-dos-docker` image, to fix `…
volkertb Jan 21, 2024
1612432
test: Replace default QEMU launch script of `cicd-qemu-dos-docker` im…
volkertb Jan 21, 2024
ca8d087
test: Disable any network adapters in QEMU to prevent iPXE boot delay…
volkertb Jan 21, 2024
9a4123a
test: Show BLASTER environment variable (after having loaded SBEMU.EX…
volkertb Jan 21, 2024
0c4fc59
test: Override BLASTER setting to troubleshoot Sound Blaster Pro dete…
volkertb Jan 21, 2024
33f7ec8
test: Remove temporary BLASTER environment variable override, since t…
volkertb Jan 21, 2024
ba3f9da
test: Try the AIL/32 regular Sound Blster drivers instead of the AIL/…
volkertb Jan 21, 2024
451c06b
test: Emulate older intel-hda (ich6) variant instead of ich9-intel-hd…
volkertb Jan 21, 2024
ba4a911
test: Try emulating ICHx AC'97 instead of Intel HDA, to see if that m…
volkertb Jan 21, 2024
39d0e9f
ci: Use newer version of debian-djgpp container image, which has `wge…
volkertb Jan 21, 2024
b18882d
ci: Run only the `Build project` (compile) step in a `debian-djgpp` c…
volkertb Jan 21, 2024
9aa3703
test: try capturing exit code of test command (`stp32 dtmf_src.wav a3…
volkertb Aug 18, 2024
ca3c0be
ci: Propagate errorlevel/exitcode from test in DOS VM to step script
volkertb Aug 18, 2024
5384490
test: Load Jemm with QPIEMU module to allow SBEMU to be tested in Rea…
volkertb Aug 18, 2024
726fbd2
ci: Resolve Node.js deprecation warning by using v4 of the Checkout G…
volkertb Aug 18, 2024
0e0000c
ci: try Intel HD Audio (HDA) instead of AC'97/ICHx, since the latter …
volkertb Aug 18, 2024
4abdad9
test: Add workarounds for possible issue with DOS/32A DOS extender, s…
volkertb Aug 18, 2024
92bd299
Revert "test: Add workarounds for possible issue with DOS/32A DOS ext…
volkertb Aug 18, 2024
f074ba2
test: Try original DOS/4GW DOS extender version 1.97 instead of DOS/32A
volkertb Aug 18, 2024
64d0274
test: decode DTMF tones from audio output stream file from test in QE…
volkertb Aug 18, 2024
b273180
test: Download dtmf2num source and compile and install it before usin…
volkertb Aug 18, 2024
618b05a
test: Try decoding both the source WAV file and the output dump WAV f…
volkertb Aug 19, 2024
b46cca4
Revert "ci: try Intel HD Audio (HDA) instead of AC'97/ICHx, since the…
volkertb Aug 19, 2024
6b70a0b
test: fix audio output dump file name, after the revert from HD Audio…
volkertb Aug 19, 2024
f805995
ci: upload WAV output dumps from emulated QEMU sound devices as artif…
volkertb Aug 19, 2024
1420eb9
test: Add VOCPLAY.EXE and Sound Blaster AILv2 Real Mode driver to tes…
volkertb Aug 19, 2024
50fbb51
ci: restore DOS test error code propagation after having successfully…
volkertb Aug 19, 2024
b4d6c42
ci: fix DOS error code propagation bug by exporting environment varia…
volkertb Aug 19, 2024
e278310
ci: fix DOS error code propagation bug by escaping brackets, since th…
volkertb Aug 19, 2024
8fc2828
ci: debug command parsing error by adding `history` command to see ho…
volkertb Aug 19, 2024
b22309d
ci: try double quotes for the operands in the `if` statements, as sug…
volkertb Aug 19, 2024
d40a958
ci: Clean up script after previous commit finally fixed the DOS error…
volkertb Aug 19, 2024
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
Prev Previous commit
Next Next commit
ci: upload WAV output dumps from emulated QEMU sound devices as artif…
…acts, for manual analysis
  • Loading branch information
volkertb committed Aug 19, 2024
commit f805995a6d3795119da69719661aac81f4171677
7 changes: 7 additions & 0 deletions .github/workflows/02-pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,10 @@ jobs:
dtmf2num test/dtmf_src.wav
# Now decode DTMF tones from the output dump file from the emulated sound device in QEMU VM:
dtmf2num ac97_out.wav
- name: Upload WAV dumps from QEMU as artifacts
uses: actions/upload-artifact@v4
with:
name: wav-dump-artifacts
path: ./*_out.wav
if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn`
retention-days: 3