Fixes build
continuous-integration/drone/push Build is pending
Details
continuous-integration/drone/push Build is pending
Details
This commit is contained in:
parent
26db32299d
commit
069320318e
|
@ -12,7 +12,7 @@ steps:
|
||||||
CMAKE_RANLIB: /usr/bin/llvm-ranlib
|
CMAKE_RANLIB: /usr/bin/llvm-ranlib
|
||||||
CMAKE_AR: /usr/bin/llvm-ar
|
CMAKE_AR: /usr/bin/llvm-ar
|
||||||
commands:
|
commands:
|
||||||
- cmake -GNinja -DCMAKE_BUILD_TYPE=Debug . -B build-debug -DSTATICC=ON -DTESTS=ON
|
- cmake -GNinja -DCMAKE_BUILD_TYPE=Debug . -B build-debug -DSTATICC=ON -DARBUTILS_TESTS=ON
|
||||||
- cmake --build build-debug --target all -- -j 4
|
- cmake --build build-debug --target all -- -j 4
|
||||||
- cd build-debug
|
- cd build-debug
|
||||||
- ./ArbutilsTests -s --duration=true --force-colors=true
|
- ./ArbutilsTests -s --duration=true --force-colors=true
|
||||||
|
@ -24,7 +24,7 @@ steps:
|
||||||
CMAKE_RANLIB: /usr/bin/llvm-ranlib
|
CMAKE_RANLIB: /usr/bin/llvm-ranlib
|
||||||
CMAKE_AR: /usr/bin/llvm-ar
|
CMAKE_AR: /usr/bin/llvm-ar
|
||||||
commands:
|
commands:
|
||||||
- cmake -GNinja -DCMAKE_BUILD_TYPE=Release . -B build-release -DSTATICC=ON -DTESTS=ON
|
- cmake -GNinja -DCMAKE_BUILD_TYPE=Release . -B build-release -DSTATICC=ON -DARBUTILS_TESTS=ON
|
||||||
- cmake --build build-release --target all -- -j 4
|
- cmake --build build-release --target all -- -j 4
|
||||||
- cd build-debug
|
- cd build-debug
|
||||||
- ./ArbutilsTests -s --duration=true --force-colors=true
|
- ./ArbutilsTests -s --duration=true --force-colors=true
|
||||||
|
@ -32,7 +32,7 @@ steps:
|
||||||
- name: test-release-windows
|
- name: test-release-windows
|
||||||
image: deukhoofd/windowsbuilder
|
image: deukhoofd/windowsbuilder
|
||||||
commands:
|
commands:
|
||||||
- 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++ -DWINDOWS=ON -DSTATICC=ON -DTESTS=ON
|
- 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++ -DWINDOWS=ON -DSTATICC=ON -DARBUTILS_TESTS=ON
|
||||||
- cmake --build build-release-windows --target all -- -j 4
|
- cmake --build build-release-windows --target all -- -j 4
|
||||||
- export WINEARCH=win64
|
- export WINEARCH=win64
|
||||||
- wine build-release-windows/ArbutilsTests.exe -s --duration=true --force-colors=true --test-case-exclude="Throw exception get stack trace"
|
- wine build-release-windows/ArbutilsTests.exe -s --duration=true --force-colors=true --test-case-exclude="Throw exception get stack trace"
|
||||||
|
|
Loading…
Reference in New Issue