mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 08:05:18 +02:00
Test CSM in CI runs
This commit is contained in:
@@ -29,7 +29,7 @@ mkdir -p "$worldpath/worldmods"
|
|||||||
|
|
||||||
printf '%s\n' >"$testspath/client1.conf" \
|
printf '%s\n' >"$testspath/client1.conf" \
|
||||||
video_driver=null name=client1 viewing_range=10 \
|
video_driver=null name=client1 viewing_range=10 \
|
||||||
enable_{sound,minimap,post_processing}=false
|
enable_{minimap,post_processing}=false enable_client_modding=true
|
||||||
|
|
||||||
printf '%s\n' >"$testspath/server.conf" \
|
printf '%s\n' >"$testspath/server.conf" \
|
||||||
max_block_send_distance=1 active_block_range=1 \
|
max_block_send_distance=1 active_block_range=1 \
|
||||||
@@ -44,6 +44,7 @@ echo "Starting server"
|
|||||||
waitfor "$worldpath/startup"
|
waitfor "$worldpath/startup"
|
||||||
|
|
||||||
echo "Starting client"
|
echo "Starting client"
|
||||||
|
export ALSOFT_DRIVERS=null
|
||||||
"$executable" --debugger --config "$conf_client1" --go --address 127.0.0.1 2>&1 \
|
"$executable" --debugger --config "$conf_client1" --go --address 127.0.0.1 2>&1 \
|
||||||
| sed -u 's/^/(client) /' | tee -a "$testspath/log.txt" &
|
| sed -u 's/^/(client) /' | tee -a "$testspath/log.txt" &
|
||||||
waitfor "$worldpath/done"
|
waitfor "$worldpath/done"
|
||||||
|
Reference in New Issue
Block a user