Skip to content

Commit 8f6090f

Browse files
committed
Disable all non-NodeJS Github workflows for faster build
1 parent 6338ef8 commit 8f6090f

File tree

1 file changed

+176
-176
lines changed

1 file changed

+176
-176
lines changed

.github/workflows/osrm-backend.yml

Lines changed: 176 additions & 176 deletions
Original file line numberDiff line numberDiff line change
@@ -120,178 +120,178 @@ jobs:
120120
npm run docs && ./scripts/error_on_dirty.sh
121121
npm audit --production
122122
123-
docker-image-matrix:
124-
strategy:
125-
matrix:
126-
docker-base-image: ["debian", "alpine"]
127-
needs: format-taginfo-docs
128-
runs-on: ubuntu-22.04
129-
continue-on-error: false
130-
steps:
131-
- name: Check out the repo
132-
uses: actions/checkout@v4
133-
- name: Enable osm.pbf cache
134-
uses: actions/cache@v4
135-
with:
136-
path: berlin-latest.osm.pbf
137-
key: v1-berlin-osm-pbf
138-
restore-keys: |
139-
v1-berlin-osm-pbf
140-
- name: Docker build
141-
run: |
142-
docker build -t osrm-backend-local -f docker/Dockerfile-${{ matrix.docker-base-image }} .
143-
- name: Test Docker image
144-
run: |
145-
if [ ! -f "${PWD}/berlin-latest.osm.pbf" ]; then
146-
wget http://download.geofabrik.de/europe/germany/berlin-latest.osm.pbf
147-
fi
148-
TAG=osrm-backend-local
149-
# when `--memory-swap` value equals `--memory` it means container won't use swap
150-
# see https://docs.docker.com/config/containers/resource_constraints/#--memory-swap-details
151-
MEMORY_ARGS="--memory=1g --memory-swap=1g"
152-
docker run $MEMORY_ARGS -t -v "${PWD}:/data" "${TAG}" osrm-extract --dump-nbg-graph -p /opt/car.lua /data/berlin-latest.osm.pbf
153-
docker run $MEMORY_ARGS -t -v "${PWD}:/data" "${TAG}" osrm-components /data/berlin-latest.osrm.nbg /data/berlin-latest.geojson
154-
if [ ! -s "${PWD}/berlin-latest.geojson" ]
155-
then
156-
>&2 echo "No berlin-latest.geojson found"
157-
exit 1
158-
fi
159-
# removing `.osrm.nbg` to check that whole pipeline works without it
160-
rm -rf "${PWD}/berlin-latest.osrm.nbg"
161-
162-
docker run $MEMORY_ARGS -t -v "${PWD}:/data" "${TAG}" osrm-partition /data/berlin-latest.osrm
163-
docker run $MEMORY_ARGS -t -v "${PWD}:/data" "${TAG}" osrm-customize /data/berlin-latest.osrm
164-
docker run $MEMORY_ARGS --name=osrm-container -t -p 5000:5000 -v "${PWD}:/data" "${TAG}" osrm-routed --algorithm mld /data/berlin-latest.osrm &
165-
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"
166-
docker stop osrm-container
123+
# docker-image-matrix:
124+
# strategy:
125+
# matrix:
126+
# docker-base-image: ["debian", "alpine"]
127+
# needs: format-taginfo-docs
128+
# runs-on: ubuntu-22.04
129+
# continue-on-error: false
130+
# steps:
131+
# - name: Check out the repo
132+
# uses: actions/checkout@v4
133+
# - name: Enable osm.pbf cache
134+
# uses: actions/cache@v4
135+
# with:
136+
# path: berlin-latest.osm.pbf
137+
# key: v1-berlin-osm-pbf
138+
# restore-keys: |
139+
# v1-berlin-osm-pbf
140+
# - name: Docker build
141+
# run: |
142+
# docker build -t osrm-backend-local -f docker/Dockerfile-${{ matrix.docker-base-image }} .
143+
# - name: Test Docker image
144+
# run: |
145+
# if [ ! -f "${PWD}/berlin-latest.osm.pbf" ]; then
146+
# wget http://download.geofabrik.de/europe/germany/berlin-latest.osm.pbf
147+
# fi
148+
# TAG=osrm-backend-local
149+
# # when `--memory-swap` value equals `--memory` it means container won't use swap
150+
# # see https://docs.docker.com/config/containers/resource_constraints/#--memory-swap-details
151+
# MEMORY_ARGS="--memory=1g --memory-swap=1g"
152+
# docker run $MEMORY_ARGS -t -v "${PWD}:/data" "${TAG}" osrm-extract --dump-nbg-graph -p /opt/car.lua /data/berlin-latest.osm.pbf
153+
# docker run $MEMORY_ARGS -t -v "${PWD}:/data" "${TAG}" osrm-components /data/berlin-latest.osrm.nbg /data/berlin-latest.geojson
154+
# if [ ! -s "${PWD}/berlin-latest.geojson" ]
155+
# then
156+
# >&2 echo "No berlin-latest.geojson found"
157+
# exit 1
158+
# fi
159+
# # removing `.osrm.nbg` to check that whole pipeline works without it
160+
# rm -rf "${PWD}/berlin-latest.osrm.nbg"
161+
162+
# docker run $MEMORY_ARGS -t -v "${PWD}:/data" "${TAG}" osrm-partition /data/berlin-latest.osrm
163+
# docker run $MEMORY_ARGS -t -v "${PWD}:/data" "${TAG}" osrm-customize /data/berlin-latest.osrm
164+
# docker run $MEMORY_ARGS --name=osrm-container -t -p 5000:5000 -v "${PWD}:/data" "${TAG}" osrm-routed --algorithm mld /data/berlin-latest.osrm &
165+
# 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"
166+
# docker stop osrm-container
167167

168168
build-matrix:
169169
needs: format-taginfo-docs
170170
strategy:
171171
matrix:
172172
include:
173-
- name: gcc-13-debug-cov
174-
continue-on-error: false
175-
node: 22
176-
runs-on: ubuntu-24.04
177-
BUILD_TYPE: Debug
178-
CCOMPILER: gcc-13
179-
CUCUMBER_TIMEOUT: 20000
180-
CXXCOMPILER: g++-13
181-
ENABLE_COVERAGE: ON
182-
183-
- name: clang-18-debug-asan-ubsan
184-
continue-on-error: false
185-
node: 22
186-
runs-on: ubuntu-24.04
187-
BUILD_TYPE: Debug
188-
CCOMPILER: clang-18
189-
CUCUMBER_TIMEOUT: 20000
190-
CXXCOMPILER: clang++-18
191-
ENABLE_SANITIZER: ON
192-
TARGET_ARCH: x86_64-asan-ubsan
193-
OSRM_CONNECTION_RETRIES: 10
194-
OSRM_CONNECTION_EXP_BACKOFF_COEF: 1.5
195-
196-
- name: clang-18-release
197-
continue-on-error: false
198-
node: 22
199-
runs-on: ubuntu-24.04
200-
BUILD_TYPE: Release
201-
CCOMPILER: clang-18
202-
CXXCOMPILER: clang++-18
203-
CUCUMBER_TIMEOUT: 60000
204-
ENABLE_LTO: OFF
205-
206-
- name: clang-18-debug
207-
continue-on-error: false
208-
node:
209-
runs-on: ubuntu-24.04
210-
BUILD_TYPE: Debug
211-
CCOMPILER: clang-18
212-
CXXCOMPILER: clang++-18
213-
CUCUMBER_TIMEOUT: 60000
214-
ENABLE_LTO: OFF
215-
216-
- name: clang-18-debug-clang-tidy
217-
continue-on-error: false
218-
node: 18
219-
runs-on: ubuntu-24.04
220-
BUILD_TYPE: Debug
221-
CCOMPILER: clang-18
222-
CXXCOMPILER: clang++-18
223-
CUCUMBER_TIMEOUT: 60000
224-
ENABLE_CLANG_TIDY: ON
225-
NODE_PACKAGE_TESTS_ONLY: ON
226-
ENABLE_LTO: OFF
227-
228-
- name: clang-17-release
229-
continue-on-error: false
230-
node: 18
231-
runs-on: ubuntu-24.04
232-
BUILD_TYPE: Release
233-
CCOMPILER: clang-17
234-
CXXCOMPILER: clang++-17
235-
CUCUMBER_TIMEOUT: 60000
236-
ENABLE_LTO: OFF
237-
238-
- name: clang-16-release
239-
continue-on-error: false
240-
node: 18
241-
runs-on: ubuntu-24.04
242-
BUILD_TYPE: Release
243-
CCOMPILER: clang-16
244-
CXXCOMPILER: clang++-16
245-
CUCUMBER_TIMEOUT: 60000
246-
ENABLE_LTO: OFF
247-
248-
- name: conan-linux-debug-asan-ubsan
249-
continue-on-error: false
250-
node: 18
251-
runs-on: ubuntu-24.04
252-
BUILD_TYPE: Release
253-
CCOMPILER: clang-18
254-
CXXCOMPILER: clang++-18
255-
ENABLE_CONAN: ON
256-
ENABLE_SANITIZER: ON
257-
ENABLE_LTO: OFF
258-
259-
- name: conan-linux-release
260-
continue-on-error: false
261-
node: 18
262-
runs-on: ubuntu-24.04
263-
BUILD_TYPE: Release
264-
CCOMPILER: clang-18
265-
CXXCOMPILER: clang++-18
266-
ENABLE_CONAN: ON
267-
ENABLE_LTO: OFF
268-
269-
- name: gcc-14-release
270-
continue-on-error: false
271-
node: 22
272-
runs-on: ubuntu-24.04
273-
BUILD_TYPE: Release
274-
CCOMPILER: gcc-14
275-
CXXCOMPILER: g++-14
276-
CXXFLAGS: '-Wno-array-bounds -Wno-uninitialized'
277-
278-
- name: gcc-13-release
279-
continue-on-error: false
280-
node: 22
281-
runs-on: ubuntu-24.04
282-
BUILD_TYPE: Release
283-
CCOMPILER: gcc-13
284-
CXXCOMPILER: g++-13
285-
CXXFLAGS: '-Wno-array-bounds -Wno-uninitialized'
286-
287-
- name: gcc-12-release
288-
continue-on-error: false
289-
node: 22
290-
runs-on: ubuntu-22.04
291-
BUILD_TYPE: Release
292-
CCOMPILER: gcc-12
293-
CXXCOMPILER: g++-12
294-
CXXFLAGS: '-Wno-array-bounds -Wno-uninitialized'
173+
# - name: gcc-13-debug-cov
174+
# continue-on-error: false
175+
# node: 22
176+
# runs-on: ubuntu-24.04
177+
# BUILD_TYPE: Debug
178+
# CCOMPILER: gcc-13
179+
# CUCUMBER_TIMEOUT: 20000
180+
# CXXCOMPILER: g++-13
181+
# ENABLE_COVERAGE: ON
182+
183+
# - name: clang-18-debug-asan-ubsan
184+
# continue-on-error: false
185+
# node: 22
186+
# runs-on: ubuntu-24.04
187+
# BUILD_TYPE: Debug
188+
# CCOMPILER: clang-18
189+
# CUCUMBER_TIMEOUT: 20000
190+
# CXXCOMPILER: clang++-18
191+
# ENABLE_SANITIZER: ON
192+
# TARGET_ARCH: x86_64-asan-ubsan
193+
# OSRM_CONNECTION_RETRIES: 10
194+
# OSRM_CONNECTION_EXP_BACKOFF_COEF: 1.5
195+
196+
# - name: clang-18-release
197+
# continue-on-error: false
198+
# node: 22
199+
# runs-on: ubuntu-24.04
200+
# BUILD_TYPE: Release
201+
# CCOMPILER: clang-18
202+
# CXXCOMPILER: clang++-18
203+
# CUCUMBER_TIMEOUT: 60000
204+
# ENABLE_LTO: OFF
205+
206+
# - name: clang-18-debug
207+
# continue-on-error: false
208+
# node:
209+
# runs-on: ubuntu-24.04
210+
# BUILD_TYPE: Debug
211+
# CCOMPILER: clang-18
212+
# CXXCOMPILER: clang++-18
213+
# CUCUMBER_TIMEOUT: 60000
214+
# ENABLE_LTO: OFF
215+
216+
# - name: clang-18-debug-clang-tidy
217+
# continue-on-error: false
218+
# node: 18
219+
# runs-on: ubuntu-24.04
220+
# BUILD_TYPE: Debug
221+
# CCOMPILER: clang-18
222+
# CXXCOMPILER: clang++-18
223+
# CUCUMBER_TIMEOUT: 60000
224+
# ENABLE_CLANG_TIDY: ON
225+
# NODE_PACKAGE_TESTS_ONLY: ON
226+
# ENABLE_LTO: OFF
227+
228+
# - name: clang-17-release
229+
# continue-on-error: false
230+
# node: 18
231+
# runs-on: ubuntu-24.04
232+
# BUILD_TYPE: Release
233+
# CCOMPILER: clang-17
234+
# CXXCOMPILER: clang++-17
235+
# CUCUMBER_TIMEOUT: 60000
236+
# ENABLE_LTO: OFF
237+
238+
# - name: clang-16-release
239+
# continue-on-error: false
240+
# node: 18
241+
# runs-on: ubuntu-24.04
242+
# BUILD_TYPE: Release
243+
# CCOMPILER: clang-16
244+
# CXXCOMPILER: clang++-16
245+
# CUCUMBER_TIMEOUT: 60000
246+
# ENABLE_LTO: OFF
247+
248+
# - name: conan-linux-debug-asan-ubsan
249+
# continue-on-error: false
250+
# node: 18
251+
# runs-on: ubuntu-24.04
252+
# BUILD_TYPE: Release
253+
# CCOMPILER: clang-18
254+
# CXXCOMPILER: clang++-18
255+
# ENABLE_CONAN: ON
256+
# ENABLE_SANITIZER: ON
257+
# ENABLE_LTO: OFF
258+
259+
# - name: conan-linux-release
260+
# continue-on-error: false
261+
# node: 18
262+
# runs-on: ubuntu-24.04
263+
# BUILD_TYPE: Release
264+
# CCOMPILER: clang-18
265+
# CXXCOMPILER: clang++-18
266+
# ENABLE_CONAN: ON
267+
# ENABLE_LTO: OFF
268+
269+
# - name: gcc-14-release
270+
# continue-on-error: false
271+
# node: 22
272+
# runs-on: ubuntu-24.04
273+
# BUILD_TYPE: Release
274+
# CCOMPILER: gcc-14
275+
# CXXCOMPILER: g++-14
276+
# CXXFLAGS: '-Wno-array-bounds -Wno-uninitialized'
277+
278+
# - name: gcc-13-release
279+
# continue-on-error: false
280+
# node: 22
281+
# runs-on: ubuntu-24.04
282+
# BUILD_TYPE: Release
283+
# CCOMPILER: gcc-13
284+
# CXXCOMPILER: g++-13
285+
# CXXFLAGS: '-Wno-array-bounds -Wno-uninitialized'
286+
287+
# - name: gcc-12-release
288+
# continue-on-error: false
289+
# node: 22
290+
# runs-on: ubuntu-22.04
291+
# BUILD_TYPE: Release
292+
# CCOMPILER: gcc-12
293+
# CXXCOMPILER: g++-12
294+
# CXXFLAGS: '-Wno-array-bounds -Wno-uninitialized'
295295

296296
- name: conan-linux-release-node
297297
build_node_package: true
@@ -304,16 +304,16 @@ jobs:
304304
ENABLE_CONAN: ON
305305
NODE_PACKAGE_TESTS_ONLY: ON
306306

307-
- name: conan-linux-debug-node
308-
build_node_package: true
309-
continue-on-error: false
310-
node: 22
311-
runs-on: ubuntu-24.04
312-
BUILD_TYPE: Debug
313-
CCOMPILER: clang-16
314-
CXXCOMPILER: clang++-16
315-
ENABLE_CONAN: ON
316-
NODE_PACKAGE_TESTS_ONLY: ON
307+
# - name: conan-linux-debug-node
308+
# build_node_package: true
309+
# continue-on-error: false
310+
# node: 22
311+
# runs-on: ubuntu-24.04
312+
# BUILD_TYPE: Debug
313+
# CCOMPILER: clang-16
314+
# CXXCOMPILER: clang++-16
315+
# ENABLE_CONAN: ON
316+
# NODE_PACKAGE_TESTS_ONLY: ON
317317

318318
- name: conan-macos-x64-release-node
319319
build_node_package: true

0 commit comments

Comments
 (0)