diff options
author | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2024-03-04 20:31:08 +0100 |
---|---|---|
committer | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2024-03-04 20:03:31 +0000 |
commit | a9df89bda908e3b3d443db7f3ca865b6f12c75e5 (patch) | |
tree | ada951b04db6a0026ca43fb17b666426a10a9d63 /.gitlab-ci.yml | |
parent | 5c7f9d1d216fd1edca231ed274ac3077cb34909f (diff) | |
download | mana-a9df89bda908e3b3d443db7f3ca865b6f12c75e5.tar.gz mana-a9df89bda908e3b3d443db7f3ca865b6f12c75e5.tar.bz2 mana-a9df89bda908e3b3d443db7f3ca865b6f12c75e5.tar.xz mana-a9df89bda908e3b3d443db7f3ca865b6f12c75e5.zip |
CI: Use Ninja to speed up compile times
Ninja should automatically run the appropriate amount of parallel jobs.
Also removed the --parallel from the README.md, since the default
generator (Unix Makefiles) is not smart about this and risks locking up
people's systems because the many compile jobs can make it run out of
memory.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6e19fbc7..d539ecc9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -23,5 +23,6 @@ ubuntu-build: libsdl2-net-dev libsdl2-ttf-dev libxml2-dev - - cmake . - - cmake --build . + ninja-build + - cmake -G Ninja -B build . + - cmake --build build |