diff --git a/.github/workflows/osrm-backend.yml b/.github/workflows/osrm-backend.yml index fba0112d3..a6c44346d 100644 --- a/.github/workflows/osrm-backend.yml +++ b/.github/workflows/osrm-backend.yml @@ -63,8 +63,10 @@ jobs: 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 + ls -la + + # 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 @@ -538,7 +540,7 @@ jobs: # sed -i '' 's/compiler.cppstd=.*$/compiler.cppstd=20/' ~/.conan/profiles/default if [[ "${ENABLE_CONAN}" == "ON" ]]; then - conan install .. --output-folder=. --build=missing --settings compiler.cppstd=20 + conan install .. --output-folder=. --build=missing --settings compiler.cppstd=20 --settings build_type=Debug fi ccache --zero-stats diff --git a/conanfile.py b/conanfile.py index 355c063bf..fb5351d50 100644 --- a/conanfile.py +++ b/conanfile.py @@ -11,6 +11,10 @@ class OsrmConan(ConanFile): "onetbb/2021.12.0", ) generators = "CMakeDeps" + + def requirements(self): + self.options["boost"].without_python = True + self.options["boost"].without_coroutine = True def generate(self): tc = CMakeToolchain(self) diff --git a/unit_tests/util/io.cpp b/unit_tests/util/io.cpp index 4cc3a688b..d9f86d0e7 100644 --- a/unit_tests/util/io.cpp +++ b/unit_tests/util/io.cpp @@ -17,7 +17,6 @@ const static std::string IO_TOO_SMALL_FILE = "file_too_small_test_io.tmp"; const static std::string IO_CORRUPT_FINGERPRINT_FILE = "corrupt_fingerprint_file_test_io.tmp"; const static std::string IO_INCOMPATIBLE_FINGERPRINT_FILE = "incompatible_fingerprint_file_test_io.tmp"; -const static std::string IO_TEXT_FILE = "plain_text_file.tmp"; using namespace osrm;