aboutsummaryrefslogtreecommitdiff
path: root/util/ci/build.sh
diff options
context:
space:
mode:
authorLoïc Blot <nerzhul@users.noreply.github.com>2020-04-20 20:18:40 +0200
committerGitHub <noreply@github.com>2020-04-20 20:18:40 +0200
commit27a485a472706bededf38f0de2630688739ca0b2 (patch)
treea9eebf3c383e68d5856eddf1c608a427f2d7445b /util/ci/build.sh
parent338195ff250bd7552ef8167348de2eb05e421c29 (diff)
downloadhax-minetest-server-27a485a472706bededf38f0de2630688739ca0b2.tar.gz
hax-minetest-server-27a485a472706bededf38f0de2630688739ca0b2.zip
Replace travis with github actions (#9641)
* Move outside of travis to Github actions This will permit to have better integrated CI workflow than the previous travis one.
Diffstat (limited to 'util/ci/build.sh')
-rwxr-xr-xutil/ci/build.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/util/ci/build.sh b/util/ci/build.sh
new file mode 100755
index 000000000..59069b00a
--- /dev/null
+++ b/util/ci/build.sh
@@ -0,0 +1,8 @@
+#! /bin/bash -eu
+
+mkdir cmakebuild
+cd cmakebuild
+cmake -DCMAKE_BUILD_TYPE=Debug \
+ -DRUN_IN_PLACE=TRUE -DENABLE_GETTEXT=TRUE \
+ -DBUILD_SERVER=TRUE ${CMAKE_FLAGS} ..
+make -j2