mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2025-05-14 16:58:34 +00:00
Enable all gcc and clang warnings for testing the CI (#478)
* Enable all gcc and clang warnings for testing the CI * Enable all gcc and clang warnings through GitHub workflow instead of CMake
This commit is contained in:
parent
0183545f02
commit
a16385ba1b
1 changed files with 22 additions and 0 deletions
22
.github/workflows/linux.yaml
vendored
22
.github/workflows/linux.yaml
vendored
|
@ -57,6 +57,28 @@ jobs:
|
|||
run: |
|
||||
cmake -DCMAKE_BUILD_TYPE=${{matrix.build_type}} \
|
||||
-DVMA_BUILD_SAMPLES=YES \
|
||||
-DCMAKE_CXX_FLAGS="-Wall
|
||||
-Wextra
|
||||
-Wpedantic
|
||||
-Wconversion
|
||||
-Wsign-conversion
|
||||
-Wshadow
|
||||
-Wnull-dereference
|
||||
-Wdouble-promotion
|
||||
-Wformat=2
|
||||
-Wimplicit-fallthrough
|
||||
-Wundef
|
||||
-Wcast-align
|
||||
-Woverloaded-virtual
|
||||
-Wnon-virtual-dtor
|
||||
-Wstrict-overflow=5
|
||||
-Wuseless-cast
|
||||
-Wduplicated-cond
|
||||
-Wduplicated-branches
|
||||
-Wlogical-op
|
||||
-Wredundant-decls
|
||||
-Wstrict-null-sentinel
|
||||
-Wold-style-cast"
|
||||
$GITHUB_WORKSPACE
|
||||
|
||||
- name: Build
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue