Skip to content

Commit 395add3

Browse files
committed
Fix smoke test: use --nosound flag to disable audio
The snd_disable config setting wasn't working - Spring was still trying to initialize OpenAL and crashing on ALSA (no sound card in CI). Using the --nosound command-line flag completely bypasses audio initialization. CI crash log showed: ALSA lib pcm.c: Unknown PCM default [CrashHandler] Error: Aborted (SIGABRT) Good news: SpringBoard scanned successfully! Took 2.6s.
1 parent ccb8316 commit 395add3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/smoke-test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,9 @@ jobs:
159159
160160
# Run Spring with Xvfb (virtual X11 display) so LuaUI loads
161161
# This actually tests RmlUi initialization!
162+
# Use --nosound to disable audio completely (no sound card in CI)
162163
timeout 10s xvfb-run -a -s "-screen 0 1024x768x24" \
163-
./spring --write-dir $(pwd)/test-data script.txt || EXIT_CODE=$?
164+
./spring --nosound --write-dir $(pwd)/test-data script.txt || EXIT_CODE=$?
164165
165166
# Wait a moment for Spring to finish writing logs
166167
sleep 2

0 commit comments

Comments
 (0)