Skip to content

Commit 800ee1d

Browse files
committed
Update CI to use map generation instead of test map fixture
Changes: - Removed 'Install test map fixture' step (test_fixtures/ was deleted) - Updated script.txt to use map generation approach - MapName: sb_initial_blank_10x8 (no file on disk) - Added [MAPOPTIONS] with new_map_x=10, new_map_y=8 - Added [MODOPTIONS] with mapseed=1 This matches test-smoke.sh approach. CI will now test actual map generation code path to see if it works with full Spring + xvfb.
1 parent 737a321 commit 800ee1d

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

.github/workflows/smoke-test.yml

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -71,27 +71,26 @@ jobs:
7171
cat test-data/springsettings.cfg
7272
echo "Sound subsystem disabled via Sound = 0 config"
7373
74-
- name: Install test map fixture
74+
- name: Create Spring script.txt for map generation
7575
run: |
76-
# Use bundled minimal test map (downloads are blocked with 403)
77-
# The test map is a minimal 2x2 Spring map with proper .smf format
78-
cp -r test_fixtures/minimal_test_map.sdd games/
79-
ls -lah games/minimal_test_map.sdd/
80-
echo "Test map fixture installed"
81-
82-
- name: Create Spring script.txt
83-
run: |
84-
# Use bundled minimal test map
85-
echo "Using test map: TestMinimal2x2"
76+
# Use map generation (no map files needed)
77+
# SpringBoard generates terrain at runtime based on MAPOPTIONS
78+
echo "Using map generation: sb_initial_blank_10x8"
8679
cat > script.txt << 'SCRIPTEND'
8780
[GAME]
8881
{
8982
GameType=SpringBoard Core;
90-
MapName=TestMinimal2x2;
83+
MapName=sb_initial_blank_10x8;
9184
IsHost=1;
9285
MyPlayerName=TestPlayer;
86+
[MAPOPTIONS]
87+
{
88+
new_map_x=10;
89+
new_map_y=8;
90+
}
9391
[MODOPTIONS]
9492
{
93+
mapseed=1;
9594
}
9695
[PLAYER0]
9796
{

0 commit comments

Comments
 (0)