@@ -123,50 +123,50 @@ jobs:
123123 npm run docs && ./scripts/error_on_dirty.sh
124124 npm audit --production
125125
126- docker-image-matrix :
127- strategy :
128- matrix :
129- docker-base-image : ["debian", "alpine"]
130- needs : format-taginfo-docs
131- runs-on : ubuntu-22.04
132- continue-on-error : false
133- steps :
134- - name : Check out the repo
135- uses : actions/checkout@v4
136- - name : Enable osm.pbf cache
137- uses : actions/cache@v4
138- with :
139- path : berlin-latest.osm.pbf
140- key : v1-berlin-osm-pbf
141- restore-keys : |
142- v1-berlin-osm-pbf
143- - name : Docker build
144- run : |
145- docker build -t osrm-backend-local -f docker/Dockerfile-${{ matrix.docker-base-image }} .
146- - name : Test Docker image
147- run : |
148- if [ ! -f "${PWD}/berlin-latest.osm.pbf" ]; then
149- wget http://download.geofabrik.de/europe/germany/berlin-latest.osm.pbf
150- fi
151- TAG=osrm-backend-local
152- # when `--memory-swap` value equals `--memory` it means container won't use swap
153- # see https://docs.docker.com/config/containers/resource_constraints/#--memory-swap-details
154- MEMORY_ARGS="--memory=1g --memory-swap=1g"
155- docker run $MEMORY_ARGS -t -v "${PWD}:/data" "${TAG}" osrm-extract --dump-nbg-graph -p /opt/car.lua /data/berlin-latest.osm.pbf
156- docker run $MEMORY_ARGS -t -v "${PWD}:/data" "${TAG}" osrm-components /data/berlin-latest.osrm.nbg /data/berlin-latest.geojson
157- if [ ! -s "${PWD}/berlin-latest.geojson" ]
158- then
159- >&2 echo "No berlin-latest.geojson found"
160- exit 1
161- fi
162- # removing `.osrm.nbg` to check that whole pipeline works without it
163- rm -rf "${PWD}/berlin-latest.osrm.nbg"
126+ # docker-image-matrix:
127+ # strategy:
128+ # matrix:
129+ # docker-base-image: ["debian", "alpine"]
130+ # needs: format-taginfo-docs
131+ # runs-on: ubuntu-22.04
132+ # continue-on-error: false
133+ # steps:
134+ # - name: Check out the repo
135+ # uses: actions/checkout@v4
136+ # - name: Enable osm.pbf cache
137+ # uses: actions/cache@v4
138+ # with:
139+ # path: berlin-latest.osm.pbf
140+ # key: v1-berlin-osm-pbf
141+ # restore-keys: |
142+ # v1-berlin-osm-pbf
143+ # - name: Docker build
144+ # run: |
145+ # docker build -t osrm-backend-local -f docker/Dockerfile-${{ matrix.docker-base-image }} .
146+ # - name: Test Docker image
147+ # run: |
148+ # if [ ! -f "${PWD}/berlin-latest.osm.pbf" ]; then
149+ # wget http://download.geofabrik.de/europe/germany/berlin-latest.osm.pbf
150+ # fi
151+ # TAG=osrm-backend-local
152+ # # when `--memory-swap` value equals `--memory` it means container won't use swap
153+ # # see https://docs.docker.com/config/containers/resource_constraints/#--memory-swap-details
154+ # MEMORY_ARGS="--memory=1g --memory-swap=1g"
155+ # docker run $MEMORY_ARGS -t -v "${PWD}:/data" "${TAG}" osrm-extract --dump-nbg-graph -p /opt/car.lua /data/berlin-latest.osm.pbf
156+ # docker run $MEMORY_ARGS -t -v "${PWD}:/data" "${TAG}" osrm-components /data/berlin-latest.osrm.nbg /data/berlin-latest.geojson
157+ # if [ ! -s "${PWD}/berlin-latest.geojson" ]
158+ # then
159+ # >&2 echo "No berlin-latest.geojson found"
160+ # exit 1
161+ # fi
162+ # # removing `.osrm.nbg` to check that whole pipeline works without it
163+ # rm -rf "${PWD}/berlin-latest.osrm.nbg"
164164
165- docker run $MEMORY_ARGS -t -v "${PWD}:/data" "${TAG}" osrm-partition /data/berlin-latest.osrm
166- docker run $MEMORY_ARGS -t -v "${PWD}:/data" "${TAG}" osrm-customize /data/berlin-latest.osrm
167- docker run $MEMORY_ARGS --name=osrm-container -t -p 5000:5000 -v "${PWD}:/data" "${TAG}" osrm-routed --algorithm mld /data/berlin-latest.osrm &
168- curl --retry-delay 3 --retry 10 --retry-all-errors "http://127.0.0.1:5000/route/v1/driving/13.388860,52.517037;13.385983,52.496891?steps=true"
169- docker stop osrm-container
165+ # docker run $MEMORY_ARGS -t -v "${PWD}:/data" "${TAG}" osrm-partition /data/berlin-latest.osrm
166+ # docker run $MEMORY_ARGS -t -v "${PWD}:/data" "${TAG}" osrm-customize /data/berlin-latest.osrm
167+ # docker run $MEMORY_ARGS --name=osrm-container -t -p 5000:5000 -v "${PWD}:/data" "${TAG}" osrm-routed --algorithm mld /data/berlin-latest.osrm &
168+ # curl --retry-delay 3 --retry 10 --retry-all-errors "http://127.0.0.1:5000/route/v1/driving/13.388860,52.517037;13.385983,52.496891?steps=true"
169+ # docker stop osrm-container
170170
171171 build-test-publish :
172172 # needs: format-taginfo-docs
@@ -318,28 +318,28 @@ jobs:
318318 # ENABLE_CONAN: ON
319319 # NODE_PACKAGE_TESTS_ONLY: ON
320320
321- # - name: conan-linux-debug-node
322- # build_node_package: true
323- # continue-on-error: false
324- # node: 20
325- # runs-on: ubuntu-24.04
326- # BUILD_TYPE: Debug
327- # CCOMPILER: clang-16
328- # CXXCOMPILER: clang++-16
329- # ENABLE_CONAN: ON
330- # NODE_PACKAGE_TESTS_ONLY: ON
321+ - name : conan-linux-debug-node
322+ build_node_package : true
323+ continue-on-error : false
324+ node : 20
325+ runs-on : ubuntu-24.04
326+ BUILD_TYPE : Debug
327+ CCOMPILER : clang-16
328+ CXXCOMPILER : clang++-16
329+ ENABLE_CONAN : ON
330+ NODE_PACKAGE_TESTS_ONLY : ON
331331
332- # - name: conan-macos-x64-release-node
333- # build_node_package: true
334- # continue-on-error: true
335- # node: 20
336- # runs-on: macos-13 # x86_64
337- # BUILD_TYPE: Release
338- # CCOMPILER: clang
339- # CXXCOMPILER: clang++
340- # CUCUMBER_TIMEOUT: 60000
341- # ENABLE_ASSERTIONS: ON
342- # ENABLE_CONAN: ON
332+ - name : conan-macos-x64-release-node
333+ build_node_package : true
334+ continue-on-error : true
335+ node : 20
336+ runs-on : macos-13 # x86_64
337+ BUILD_TYPE : Release
338+ CCOMPILER : clang
339+ CXXCOMPILER : clang++
340+ CUCUMBER_TIMEOUT : 60000
341+ ENABLE_ASSERTIONS : ON
342+ ENABLE_CONAN : ON
343343
344344 - name : conan-macos-arm64-release-node
345345 build_node_package : true
0 commit comments