Use cache for conan files in between steps.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Deukhoofd 2020-04-10 23:12:34 +02:00
parent 04bf061115
commit 79c4d28c75
Signed by: Deukhoofd
GPG Key ID: ADF2E9256009EDCE
1 changed files with 16 additions and 0 deletions

View File

@ -1,10 +1,17 @@
kind: pipeline kind: pipeline
name: default name: default
volumes:
- name: conan-data
temp: {}
type: docker type: docker
steps: steps:
- name: test-debug-linux - name: test-debug-linux
image: deukhoofd/linux64builder image: deukhoofd/linux64builder
volumes:
- name: conan-data
path: /root/.conan/data
environment: environment:
CC: /usr/bin/clang CC: /usr/bin/clang
CXX: /usr/bin/clang++ CXX: /usr/bin/clang++
@ -15,6 +22,9 @@ steps:
- build-debug/bin/CreatureLibTests -s --durations yes --use-colour yes - build-debug/bin/CreatureLibTests -s --durations yes --use-colour yes
- name: test-release-linux - name: test-release-linux
image: deukhoofd/linux64builder image: deukhoofd/linux64builder
volumes:
- name: conan-data
path: /root/.conan/data
environment: environment:
CC: /usr/bin/clang CC: /usr/bin/clang
CXX: /usr/bin/clang++ CXX: /usr/bin/clang++
@ -26,6 +36,9 @@ steps:
- valgrind --tool=memcheck --gen-suppressions=all --leak-check=full --leak-resolution=med --track-origins=yes --vgdb=no --error-exitcode=1 build-release/bin/CreatureLibTests - valgrind --tool=memcheck --gen-suppressions=all --leak-check=full --leak-resolution=med --track-origins=yes --vgdb=no --error-exitcode=1 build-release/bin/CreatureLibTests
- name: test-release-windows - name: test-release-windows
image: deukhoofd/windowsbuilder image: deukhoofd/windowsbuilder
volumes:
- name: conan-data
path: /root/.conan/data
commands: commands:
- conan remote add epsilon-public https://packages.p-epsilon.com/ - conan remote add epsilon-public https://packages.p-epsilon.com/
- update-alternatives --set i686-w64-mingw32-gcc /usr/bin/i686-w64-mingw32-gcc-posix - update-alternatives --set i686-w64-mingw32-gcc /usr/bin/i686-w64-mingw32-gcc-posix
@ -40,6 +53,9 @@ steps:
- wine build-release-windows/bin/CreatureLibTests.exe -s - wine build-release-windows/bin/CreatureLibTests.exe -s
- name: conan-deploy - name: conan-deploy
image: deukhoofd/linux64builder image: deukhoofd/linux64builder
volumes:
- name: conan-data
path: /root/.conan/data
environment: environment:
CONAN_LOGIN_USERNAME: CONAN_LOGIN_USERNAME:
from_secret: conan_username from_secret: conan_username