2024-05-23 10:41:51 +02:00

45 lines
2.2 KiB
YAML

when:
- event: push
steps:
luacheck:
image: pipelinecomponents/luacheck
commands:
- luacheck .
mtt-prepare:
image: alpine
commands:
- apk update
- apk add git
- mkdir test/worldmods
- git clone --depth 1 https://github.com/BuckarooBanzay/mtt test/worldmods/mtt
- git clone --depth 1 https://github.com/OgelGames/fakelib test/worldmods/fakelib
- git clone --depth 1 https://codeberg.org/Wuzzy/minetest_doc test/worldmods/doc
- git clone --depth 1 https://git.bananach.space/advtrains.git test/worldmods/advtrains
- git clone --depth 1 https://git.bananach.space/basic_trains.git test/worldmods/basic_trains
- git clone --depth 1 https://git.bananach.space/JR_E231series_modpack.git test/worldmods/E231
- git clone --depth 1 https://github.com/Marnack/dlxtrains_modpack test/worldmods/dlxtrains
- git clone --depth 1 https://github.com/Marnack/advtrains_livery_tools test/worldmods/advtrains_livery_tools
- git clone --depth 1 https://github.com/Marnack/classic_coaches test/worldmods/classic_coaches
- git clone --depth 1 https://github.com/Marnack/classic_coaches_generic_livery_pack test/worldmods/classic_coaches_livery
- git clone --depth 1 https://gitlab.com/h2mm/bike test/worldmods/bike
- git clone --depth 1 https://github.com/mt-mods/xcompat test/worldmods/xcompat
- git clone --depth 1 https://github.com/mt-mods/display_modpack test/worldmods/display_modpack
- git clone --depth 1 https://invent.kde.org/davidhurka/doxy_mini_tram test/worldmods/doxy_mini_tram
- rm -rf test/worldmods/doxy_mini_tram/LICENSES
- rm -rf test/worldmods/doxy_mini_tram/screenshots
- rm -rf test/worldmods/doxy_mini_tram/.reuse
- ln -s ../../ test/worldmods/advtrains_doc_integration
- chmod -R 777 .
mtt:
depends_on: mtt-prepare
image: registry.gitlab.com/minetest/minetest/server
environment:
- MINETEST_USER_PATH=test
commands:
- minetestserver --config test/minetest.conf --world test --logfile ''
latex-verify:
depends_on: mtt
image: bscpm/latex
commands:
- for i in test/atdoc_wagon_*.tex; do latexmk -pdf -interaction=batchmode $i; done