From 49e34fe48db756d63c49837f92705c4e85a0d037 Mon Sep 17 00:00:00 2001 From: Siarhei Fedartsou Date: Fri, 7 Jun 2024 07:14:51 +0200 Subject: [PATCH] wip --- .github/workflows/osrm-backend.yml | 7 +++++++ scripts/ci/windows-build.bat | 3 +-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/osrm-backend.yml b/.github/workflows/osrm-backend.yml index d8eff0581..e79f55226 100644 --- a/.github/workflows/osrm-backend.yml +++ b/.github/workflows/osrm-backend.yml @@ -31,6 +31,13 @@ jobs: BUILD_TYPE: Release steps: - uses: actions/checkout@v4 + - name: Enable Conan cache + uses: actions/cache@v4 + with: + path: ~/.conan + key: v9-conan-windows-${{ github.sha }} + restore-keys: | + v9-conan-windows- - run: pip install "conan<2.0.0" - run: conan --version - run: cmake --version diff --git a/scripts/ci/windows-build.bat b/scripts/ci/windows-build.bat index c85e7f282..292a0ff1b 100644 --- a/scripts/ci/windows-build.bat +++ b/scripts/ci/windows-build.bat @@ -19,8 +19,7 @@ msbuild OSRM.sln ^ /p:Platform=x64 ^ /t:rebuild ^ /p:BuildInParallel=true ^ -/m:%NUMBER_OF_PROCESSORS% ^ -/Zm ^ +/m:2 ^ /toolsversion:Current ^ /clp:Verbosity=quiet ^ /nologo