Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions .github/workflows/osrm-backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:

cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_CONAN=ON -DENABLE_NODE_BINDINGS=ON ..
cmake --build . --config Release

# TODO: MSVC goes out of memory when building our tests
# - name: Run tests
# shell: bash
Expand Down Expand Up @@ -331,7 +331,7 @@ jobs:
build_node_package: true
continue-on-error: true
node: 22
runs-on: macos-15 # arm64
runs-on: macos-15 # arm64
BUILD_TYPE: Release
CCOMPILER: clang
CXXCOMPILER: clang++
Expand Down Expand Up @@ -360,6 +360,7 @@ jobs:
OSRM_CONNECTION_RETRIES: ${{ matrix.OSRM_CONNECTION_RETRIES }}
OSRM_CONNECTION_EXP_BACKOFF_COEF: ${{ matrix.OSRM_CONNECTION_EXP_BACKOFF_COEF }}
ENABLE_LTO: ${{ matrix.ENABLE_LTO }}
RUNS_ON: ${{ matrix.runs-on }}
steps:
- uses: actions/checkout@v4
- name: Build machine architecture
Expand Down Expand Up @@ -417,9 +418,10 @@ jobs:
elif [[ "${RUNNER_OS}" == "macOS" ]]; then
echo "JOBS=$((`sysctl -n hw.ncpu` + 1))" >> $GITHUB_ENV
fi
echo "BOOST_PLATFORM_VERSION=$(echo ${RUNS_ON} | cut -d "-" -f2)" >> $GITHUB_ENV
# See: https://github.com/actions/toolkit/issues/946#issuecomment-1590016041
# We need it to be able to access system folders while restoring cached Boost below
- name: Give tar root ownership
- name: Give tar root ownership
if: runner.os == 'Linux' && matrix.ENABLE_CONAN != 'ON'
run: sudo chown root /bin/tar && sudo chmod u+s /bin/tar

Expand All @@ -429,7 +431,8 @@ jobs:
id: install-boost
with:
boost_version: 1.85.0

platform_version: ${{ env.BOOST_PLATFORM_VERSION }}

- name: Install dev dependencies
run: |
# workaround for issue that GitHub Actions seems to not adding it to PATH after https://github.com/actions/runner-images/pull/6499
Expand Down
Loading