Migrate to Conan 2.x

This commit is contained in:
Siarhei Fedartsou 2024-09-29 11:49:08 +02:00
parent 910719819b
commit 8871c9054b

View File

@ -51,21 +51,20 @@ jobs:
cd build
python3 -m venv .venv
ls -R .venv
source .venv/Scripts/Activate
python3 -m pip install conan==2.7.1
# conan profile detect --force
# cat ~/.conan2/profiles/default
conan profile detect --force
cat ~/.conan2/profiles/default
# if [[ "${ENABLE_CONAN}" == "ON" ]]; then
# conan install .. --output-folder=. --build=missing --settings compiler.cppstd=20
# fi
if [[ "${ENABLE_CONAN}" == "ON" ]]; then
conan install .. --output-folder=. --build=missing --settings compiler.cppstd=20
fi
# cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_CONAN=ON -DENABLE_NODE_BINDINGS=ON -DCMAKE_TOOLCHAIN_FILE=./conan_toolchain.cmake ..
# cmake --build . --config Release
cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_CONAN=ON -DENABLE_NODE_BINDINGS=ON -DCMAKE_TOOLCHAIN_FILE=./conan_toolchain.cmake ..
cmake --build . --config Release
# # TODO: MSVC goes out of memory when building our tests
# # - name: Run tests