Skip to content

Commit 4524d21

Browse files
committed
Add compile flags for GCC builds
1 parent 9764b15 commit 4524d21

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/osrm-backend.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,9 @@ jobs:
167167
matrix:
168168
config:
169169
# standard builds
170-
- { name: gcc-14, type: Release }
171-
- { name: gcc-13, type: Release }
172-
- { name: gcc-12, type: Release }
170+
- { name: gcc-14, type: Release, CXXFLAGS: '-Wno-array-bounds -Wno-uninitialized' }
171+
- { name: gcc-13, type: Release, CXXFLAGS: '-Wno-array-bounds -Wno-uninitialized' }
172+
- { name: gcc-12, type: Release, CXXFLAGS: '-Wno-array-bounds -Wno-uninitialized' }
173173
- { name: clang-18, type: [Debug, Release] }
174174
- { name: clang-17, type: Release }
175175
- { name: clang-16, type: Release }
@@ -179,6 +179,7 @@ jobs:
179179
compiler: gcc-13
180180
type: Debug
181181
coverage: true
182+
CXXFLAGS: '-Wno-array-bounds -Wno-uninitialized'
182183

183184
- name: clang-18-debug-asan
184185
compiler: clang-18

0 commit comments

Comments
 (0)