Set ninja as generator
This commit is contained in:
parent
3df014f332
commit
7da2e27d22
|
@ -9,7 +9,7 @@ steps:
|
||||||
CC: /usr/bin/clang
|
CC: /usr/bin/clang
|
||||||
CXX: /usr/bin/clang++
|
CXX: /usr/bin/clang++
|
||||||
commands:
|
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
|
- cmake --build build-release --target all -- -j 4
|
||||||
- name: build-release-windows
|
- name: build-release-windows
|
||||||
image: deukhoofd/windowsbuilder
|
image: deukhoofd/windowsbuilder
|
||||||
|
@ -23,7 +23,7 @@ steps:
|
||||||
STRIP: x86_64-w64-mingw32-strip
|
STRIP: x86_64-w64-mingw32-strip
|
||||||
RC: x86_64-w64-mingw32-windres
|
RC: x86_64-w64-mingw32-windres
|
||||||
commands:
|
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
|
- cmake --build build-release-windows --target all -- -j 4
|
||||||
- name: gitea_release
|
- name: gitea_release
|
||||||
image: plugins/gitea-release
|
image: plugins/gitea-release
|
||||||
|
|
Loading…
Reference in New Issue