Specify target compiler in Drone.
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Deukhoofd 2019-12-31 12:23:56 +01:00
parent be08c4f09d
commit 60bda5ff89
Signed by: Deukhoofd
GPG Key ID: ADF2E9256009EDCE
1 changed files with 2 additions and 2 deletions

View File

@ -7,14 +7,14 @@ steps:
image: deukhoofd/linux64builder image: deukhoofd/linux64builder
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 - 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/CreatureLibTests -s --durations yes --use-colour yes
- name: test-release-linux - name: test-release-linux
image: deukhoofd/linux64builder image: deukhoofd/linux64builder
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 - 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/CreatureLibTests -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