Skip to content

Commit 2c09d13

Browse files
committed
Fix config file and add mtt
1 parent b74421f commit 2c09d13

File tree

2 files changed

+19
-3
lines changed

2 files changed

+19
-3
lines changed

.github/workflows/test.yml

+13-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ jobs:
1111
strategy:
1212
matrix:
1313
ENGINE_IMAGE:
14-
- registry.gitlab.com/minetest/minetest/server:5.7.0
15-
- ghcr.io/minetest-hosting/minetest-docker:5.8.0
14+
#- registry.gitlab.com/minetest/minetest/server:5.7.0
15+
#- ghcr.io/minetest-hosting/minetest-docker:5.8.0
1616
- ""
1717

1818
steps:
@@ -27,5 +27,16 @@ jobs:
2727
ref: "5.7.0"
2828
path: .REPOS/minetest_game
2929

30+
- uses: actions/checkout@v4
31+
with:
32+
repository: BuckarooBanzay/mtt
33+
path: mtt
34+
35+
- name: Update minetest.conf and world.mt
36+
run: |-
37+
echo 'load_mod_mtt = true' >> world.mt
38+
echo 'mtt_enable = true' >> minetest.conf
39+
echo 'mtt_export_nodenames = true' >> minetest.conf
40+
3041
- name: test
3142
run: docker-compose up --exit-code-from testserver

docker-compose.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,10 @@ services:
1111
volumes:
1212
- "./:/root/.minetest/mods/bls_mods/"
1313
- "./world.mt:/root/.minetest/worlds/world/world.mt"
14-
- "./minetest.conf:/root/.minetest/minetest.conf"
14+
- "./minetest.conf:/minetest.conf"
1515
- "./.REPOS/minetest_game/:/root/.minetest/games/minetest_game/"
16+
- "world:/root/.minetest/worlds/world"
17+
18+
19+
volumes:
20+
world: {}

0 commit comments

Comments
 (0)