Tweaks for CI
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Deukhoofd 2019-12-31 12:26:12 +01:00
parent 60bda5ff89
commit 80709ec2a4
Signed by: Deukhoofd
GPG Key ID: ADF2E9256009EDCE
1 changed files with 10 additions and 4 deletions

View File

@ -5,18 +5,24 @@ type: docker
steps: steps:
- name: test-debug-linux - name: test-debug-linux
image: deukhoofd/linux64builder image: deukhoofd/linux64builder
environment:
CC: clang
CXX: clang++
commands: commands:
- cmake -DCMAKE_BUILD_TYPE=Debug . -B build-debug - cmake -DCMAKE_BUILD_TYPE=Debug . -B build-debug
- conan install . --install=folder=build-debug --build missing -s compiler='clang' -s compiler.version=8 -s compiler.libcxx=libstdc++11 -s build_type=Debug - conan install . --install=folder=build-debug --build missing -s compiler=clang -s compiler.version=8 -s compiler.libcxx=libstdc++11 -s build_type=Debug
- cmake --build build-debug --target all -- -j 4 - cmake --build build-debug --target all -- -j 4
- build-debug/CreatureLibTests -s --durations yes --use-colour yes - build-debug/bin/pkmnLibtests -s --durations yes --use-colour yes
- name: test-release-linux - name: test-release-linux
image: deukhoofd/linux64builder image: deukhoofd/linux64builder
environment:
CC: clang
CXX: clang++
commands: commands:
- cmake -DCMAKE_BUILD_TYPE=Release . -B build-release - cmake -DCMAKE_BUILD_TYPE=Release . -B build-release
- conan install . --install=folder=build-release --build missing -s compiler='clang' -s compiler.version=8 -s compiler.libcxx=libstdc++11 -s build_type=Release - conan install . --install=folder=build-release --build missing -s compiler=clang -s compiler.version=8 -s compiler.libcxx=libstdc++11 -s build_type=Release
- cmake --build build-release --target all -- -j 4 - cmake --build build-release --target all -- -j 4
- build-release/CreatureLibTests -s --durations yes --use-colour yes - build-release/bin/pkmnLibtests -s --durations yes --use-colour yes
- valgrind --tool=memcheck --gen-suppressions=all --leak-check=full --leak-resolution=med --track-origins=yes --vgdb=no --error-exitcode=1 build-release/CreatureLibTests - valgrind --tool=memcheck --gen-suppressions=all --leak-check=full --leak-resolution=med --track-origins=yes --vgdb=no --error-exitcode=1 build-release/CreatureLibTests
- name: test-release-windows - name: test-release-windows
image: deukhoofd/windowsbuilder image: deukhoofd/windowsbuilder