Fixes CI
This commit is contained in:
parent
14a8709631
commit
0d627d3e7b
13
.drone.yml
13
.drone.yml
|
@ -13,11 +13,16 @@ steps:
|
||||||
- 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
|
||||||
|
environment:
|
||||||
|
CHOST: x86_64-w64-mingw32
|
||||||
|
AR: x86_64-w64-mingw32-ar
|
||||||
|
AS: x86_64-w64-mingw32-as
|
||||||
|
RANLIB: x86_64-w64-mingw32-ranlib
|
||||||
|
CC: x86_64-w64-mingw32-gcc
|
||||||
|
CXX: x86_64-w64-mingw32-g++
|
||||||
|
STRIP: x86_64-w64-mingw32-strip
|
||||||
|
RC: x86_64-w64-mingw32-windres
|
||||||
commands:
|
commands:
|
||||||
- update-alternatives --set i686-w64-mingw32-gcc /usr/bin/i686-w64-mingw32-gcc-posix
|
|
||||||
- update-alternatives --set i686-w64-mingw32-g++ /usr/bin/i686-w64-mingw32-g++-posix
|
|
||||||
- update-alternatives --set x86_64-w64-mingw32-gcc /usr/bin/x86_64-w64-mingw32-gcc-posix
|
|
||||||
- update-alternatives --set x86_64-w64-mingw32-g++ /usr/bin/x86_64-w64-mingw32-g++-posix
|
|
||||||
- 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 -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
|
||||||
|
|
Loading…
Reference in New Issue