Fix paths.
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
62747ddcf2
commit
41ec913de5
10
.drone.yml
10
.drone.yml
|
@ -33,14 +33,14 @@ steps:
|
||||||
- conan remote add epsilon-public https://packages.p-epsilon.com/
|
- conan remote add epsilon-public https://packages.p-epsilon.com/
|
||||||
- cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ . -B build-release -DSTATICC=ON -DTESTS=ON
|
- cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ . -B build-release -DSTATICC=ON -DTESTS=ON
|
||||||
- cmake --build build-release --target all -- -j 4
|
- cmake --build build-release --target all -- -j 4
|
||||||
- build-release/bin/pkmnLibTests -s --durations yes --use-colour yes
|
- build-release/pkmnLibTests -s --durations yes --use-colour yes
|
||||||
- name: valgrind-release-linux
|
- name: valgrind-release-linux
|
||||||
image: deukhoofd/linux64builder
|
image: deukhoofd/linux64builder
|
||||||
volumes:
|
volumes:
|
||||||
- name: conan-data
|
- name: conan-data
|
||||||
path: /root/.conan/data
|
path: /root/.conan/data
|
||||||
commands:
|
commands:
|
||||||
- valgrind --tool=memcheck --gen-suppressions=all --leak-check=full --leak-resolution=med --track-origins=yes --vgdb=no --error-exitcode=1 --suppressions=angelscript.supp build-release/bin/pkmnLibTests
|
- valgrind --tool=memcheck --gen-suppressions=all --leak-check=full --leak-resolution=med --track-origins=yes --vgdb=no --error-exitcode=1 --suppressions=angelscript.supp build-release/pkmnLibTests
|
||||||
- name: style-check
|
- name: style-check
|
||||||
image: deukhoofd/linux64builder
|
image: deukhoofd/linux64builder
|
||||||
failure: ignore
|
failure: ignore
|
||||||
|
@ -69,10 +69,9 @@ steps:
|
||||||
- update-alternatives --set x86_64-w64-mingw32-g++ /usr/bin/x86_64-w64-mingw32-g++-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++ -DWINDOWS=ON -DSTATICC=ON -DTESTS=ON
|
- 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++ -DWINDOWS=ON -DSTATICC=ON -DTESTS=ON
|
||||||
- cmake --build build-release-windows --target all -- -j 4
|
- cmake --build build-release-windows --target all -- -j 4
|
||||||
- cp /usr/x86_64-w64-mingw32/lib/libwinpthread-1.dll /drone/src/build-release-windows/bin/
|
- cp /usr/x86_64-w64-mingw32/lib/libwinpthread-1.dll /drone/src/build-release-windows/
|
||||||
- cp /drone/src/build-release-windows/lib/libpkmnLib.so /drone/src/build-release-windows/bin/
|
|
||||||
- export WINEARCH=win64
|
- export WINEARCH=win64
|
||||||
- wine build-release-windows/bin/pkmnLibTests.exe -s --durations yes --use-colour yes
|
- wine build-release-windows/pkmnLibTests.exe -s --durations yes --use-colour yes
|
||||||
- name: conan-deploy
|
- name: conan-deploy
|
||||||
image: deukhoofd/linux64builder
|
image: deukhoofd/linux64builder
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -85,6 +84,7 @@ steps:
|
||||||
from_secret: conan_password
|
from_secret: conan_password
|
||||||
commands:
|
commands:
|
||||||
- rm -rf build-debug
|
- rm -rf build-debug
|
||||||
|
- rm -rf build-release
|
||||||
- rm -rf build-release-windows
|
- rm -rf build-release-windows
|
||||||
- conan remote add epsilon-public https://packages.p-epsilon.com/
|
- conan remote add epsilon-public https://packages.p-epsilon.com/
|
||||||
- cmake -DCMAKE_BUILD_TYPE=Release . -B build-conan -D CMAKE_C_COMPILER=/usr/bin/clang -D CMAKE_CXX_COMPILER=clang++ -DWINDOWS=0
|
- cmake -DCMAKE_BUILD_TYPE=Release . -B build-conan -D CMAKE_C_COMPILER=/usr/bin/clang -D CMAKE_CXX_COMPILER=clang++ -DWINDOWS=0
|
||||||
|
|
Loading…
Reference in New Issue