summaryrefslogtreecommitdiffstats
path: root/.gitlab/ci/ninja-nightly.sh
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab/ci/ninja-nightly.sh')
-rwxr-xr-x.gitlab/ci/ninja-nightly.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/.gitlab/ci/ninja-nightly.sh b/.gitlab/ci/ninja-nightly.sh
new file mode 100755
index 0000000..b78b64e
--- /dev/null
+++ b/.gitlab/ci/ninja-nightly.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+set -e
+
+cd .gitlab
+
+git clone https://github.com/ninja-build/ninja.git ninja-src
+cmake -S ninja-src -B ninja-src/build -DCMAKE_BUILD_TYPE=Release
+cmake --build ninja-src/build --parallel --target ninja
+mv ninja-src/build/ninja .
+rm -rf ninja-src