Skip to content

Commit 112f2fe

Browse files
wip
1 parent 7f011ba commit 112f2fe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/osrm-backend.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,7 @@ jobs:
360360
OSRM_CONNECTION_RETRIES: ${{ matrix.OSRM_CONNECTION_RETRIES }}
361361
OSRM_CONNECTION_EXP_BACKOFF_COEF: ${{ matrix.OSRM_CONNECTION_EXP_BACKOFF_COEF }}
362362
ENABLE_LTO: ${{ matrix.ENABLE_LTO }}
363+
RUNS_ON: ${{ matrix.runs-on }}
363364
steps:
364365
- uses: actions/checkout@v4
365366
- name: Build machine architecture
@@ -417,6 +418,7 @@ jobs:
417418
elif [[ "${RUNNER_OS}" == "macOS" ]]; then
418419
echo "JOBS=$((`sysctl -n hw.ncpu` + 1))" >> $GITHUB_ENV
419420
fi
421+
echo "BOOST_PLATFORM_VERSION=$(echo ${RUNS_ON} | cut -d "-" -f2)" >> $GITHUB_ENV
420422
# See: https://github.com/actions/toolkit/issues/946#issuecomment-1590016041
421423
# We need it to be able to access system folders while restoring cached Boost below
422424
- name: Give tar root ownership
@@ -429,6 +431,7 @@ jobs:
429431
id: install-boost
430432
with:
431433
boost_version: 1.85.0
434+
platform_version: ${{ env.BOOST_PLATFORM_VERSION }}
432435

433436
- name: Install dev dependencies
434437
run: |

0 commit comments

Comments
 (0)