From 895298b60ab342dffa5fa56206a6224e78ced15c Mon Sep 17 00:00:00 2001 From: light7734 Date: Mon, 9 Dec 2024 16:39:26 +0330 Subject: [PATCH] cicd: add host profile to conan commands --- .drone.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 690edcc..47b08fa 100644 --- a/.drone.yml +++ b/.drone.yml @@ -77,8 +77,8 @@ steps: - export CC=$(which gcc) - export CXX=$(which g++) - - conan install . --build=missing --profile:build="$(pwd)/tools/conan/profiles/linux_gcc_amd64" - - conan build . --profile:build="$(pwd)/tools/conan/profiles/linux_gcc_amd64" + - conan install . --build=missing --profile:build="$(pwd)/tools/conan/profiles/linux_gcc_amd64" --profile:host="$(pwd)/tools/conan/profiles/linux_gcc_amd64" + - conan build . --profile:build="$(pwd)/tools/conan/profiles/linux_gcc_amd64" --profile:host="$(pwd)/tools/conan/profiles/linux_gcc_amd64" - ./build/Release/modules/light/light @@ -97,8 +97,8 @@ steps: - export CC=$(which clang) - export CXX=$(which clang++) - - conan install . --build=missing --profile:build="$(pwd)/tools/conan/profiles/linux_clang_amd64" - - conan build . --profile:build="$(pwd)/tools/conan/profiles/linux_clang_amd64" + - conan install . --build=missing --profile:build="$(pwd)/tools/conan/profiles/linux_clang_amd64" --profile:host="$(pwd)/tools/conan/profiles/linux_clang_amd64" + - conan build . --profile:build="$(pwd)/tools/conan/profiles/linux_clang_amd64" --profile:host="$(pwd)/tools/conan/profiles/linux_clang_amd64" - ./build/Release/modules/light/light