summaryrefslogtreecommitdiffstats
path: root/.gitlab/ci/ninja-nightly.sh
blob: b78b64e2404a5c3abc322436be6c2a5d5de72ad1 (plain)
1
2
3
4
5
6
7
8
9
10
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