-
Notifications
You must be signed in to change notification settings - Fork 5
42 lines (34 loc) · 1001 Bytes
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Copied from https://github.com/mt-mods/dreambuilder_game
name: test
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
matrix:
ENGINE_IMAGE:
#- registry.gitlab.com/minetest/minetest/server:5.7.0
#- ghcr.io/minetest-hosting/minetest-docker:5.8.0
- ""
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
- uses: actions/checkout@v4
with:
repository: minetest/minetest_game
ref: "5.7.0"
path: .REPOS/minetest_game
- uses: actions/checkout@v4
with:
repository: BuckarooBanzay/mtt
path: mtt
- name: Update minetest.conf and world.mt
run: |-
echo 'load_mod_mtt = true' >> world.mt
echo 'mtt_enable = true' >> minetest.conf
echo 'mtt_export_nodenames = true' >> minetest.conf
- name: test
run: docker-compose up --exit-code-from testserver