Skip to content

Commit 8871c90

Browse files
Migrate to Conan 2.x
1 parent 9107198 commit 8871c90

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

.github/workflows/osrm-backend.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -51,21 +51,20 @@ jobs:
5151
cd build
5252
5353
python3 -m venv .venv
54-
ls -R .venv
55-
54+
5655
source .venv/Scripts/Activate
5756
5857
python3 -m pip install conan==2.7.1
5958
60-
# conan profile detect --force
61-
# cat ~/.conan2/profiles/default
59+
conan profile detect --force
60+
cat ~/.conan2/profiles/default
6261
63-
# if [[ "${ENABLE_CONAN}" == "ON" ]]; then
64-
# conan install .. --output-folder=. --build=missing --settings compiler.cppstd=20
65-
# fi
62+
if [[ "${ENABLE_CONAN}" == "ON" ]]; then
63+
conan install .. --output-folder=. --build=missing --settings compiler.cppstd=20
64+
fi
6665
67-
# cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_CONAN=ON -DENABLE_NODE_BINDINGS=ON -DCMAKE_TOOLCHAIN_FILE=./conan_toolchain.cmake ..
68-
# cmake --build . --config Release
66+
cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_CONAN=ON -DENABLE_NODE_BINDINGS=ON -DCMAKE_TOOLCHAIN_FILE=./conan_toolchain.cmake ..
67+
cmake --build . --config Release
6968
7069
# # TODO: MSVC goes out of memory when building our tests
7170
# # - name: Run tests

0 commit comments

Comments
 (0)