Set ninja as generator
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details

This commit is contained in:
Deukhoofd 2022-02-12 13:19:26 +01:00
parent 3df014f332
commit 7da2e27d22
Signed by: Deukhoofd
GPG Key ID: F63E044490819F6F
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ steps:
CC: /usr/bin/clang
CXX: /usr/bin/clang++
commands:
- cmake -DCMAKE_BUILD_TYPE=Release . -B build-release
- cmake -GNinja -DCMAKE_BUILD_TYPE=Release . -B build-release
- cmake --build build-release --target all -- -j 4
- name: build-release-windows
image: deukhoofd/windowsbuilder
@ -23,7 +23,7 @@ steps:
STRIP: x86_64-w64-mingw32-strip
RC: x86_64-w64-mingw32-windres
commands:
- cmake -DCMAKE_BUILD_TYPE=Release . -B build-release-windows -D CMAKE_C_COMPILER=/usr/bin/x86_64-w64-mingw32-gcc -D CMAKE_CXX_COMPILER=x86_64-w64-mingw32-g++
- cmake -GNinja -DCMAKE_BUILD_TYPE=Release . -B build-release-windows -D CMAKE_C_COMPILER=/usr/bin/x86_64-w64-mingw32-gcc -D CMAKE_CXX_COMPILER=x86_64-w64-mingw32-g++
- cmake --build build-release-windows --target all -- -j 4
- name: gitea_release
image: plugins/gitea-release