Skip to content

Commit eaed9d9

Browse files
committed
🐛 Update gvdi, fix validation sync error
- Fix flags in presets - Enable workflow_dispatch - Update capo to v2.0.1
1 parent 03e1e86 commit eaed9d9

File tree

6 files changed

+13
-12
lines changed

6 files changed

+13
-12
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
name: ci-pr
2-
on:
3-
pull_request
2+
on: [pull_request, workflow_dispatch]
43
jobs:
54
x64-linux-gcc:
65
runs-on: ubuntu-latest

CMakePresets.json

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,9 @@
5050
"inherits": "base-gcc",
5151
"binaryDir": "${sourceDir}/out/gcc",
5252
"cacheVariables": {
53-
"CMAKE_CXX_FLAGS_DEBUG_INIT": "-Wall -Wextra -Wpedantic -Werror=return-type",
54-
"CMAKE_CXX_FLAGS_INIT": "-Wall -Wextra -Wpedantic -Werror"
53+
"CMAKE_CXX_FLAGS_INIT": "-Wall -Wextra -Wpedantic -Werror=return-type",
54+
"CMAKE_CXX_FLAGS_RELWITHDEBINFO_INIT": "-Werror",
55+
"CMAKE_CXX_FLAGS_RELEASE_INIT": "-Werror"
5556
}
5657
},
5758
{
@@ -61,8 +62,9 @@
6162
"inherits": "base-clang",
6263
"binaryDir": "${sourceDir}/out/clang",
6364
"cacheVariables": {
64-
"CMAKE_CXX_FLAGS_DEBUG_INIT": "-Wall -Wextra -Wpedantic -Werror=return-type",
65-
"CMAKE_CXX_FLAGS_INIT": "-Wall -Wextra -Wpedantic -Werror"
65+
"CMAKE_CXX_FLAGS_INIT": "-Wall -Wextra -Wpedantic -Werror=return-type",
66+
"CMAKE_CXX_FLAGS_RELWITHDEBINFO_INIT": "-Werror",
67+
"CMAKE_CXX_FLAGS_RELEASE_INIT": "-Werror"
6668
}
6769
},
6870
{
@@ -72,7 +74,8 @@
7274
"inherits": "base-msvc",
7375
"binaryDir": "${sourceDir}/out/msvc",
7476
"cacheVariables": {
75-
"CMAKE_CXX_FLAGS_INIT": "/WX"
77+
"CMAKE_CXX_FLAGS_RELWITHDEBINFO_INIT": "/WX",
78+
"CMAKE_CXX_FLAGS_RELEASE_INIT": "/WX"
7679
}
7780
},
7881
{
@@ -82,8 +85,7 @@
8285
"inherits": "default",
8386
"binaryDir": "${sourceDir}/out/ubsan",
8487
"cacheVariables": {
85-
"CMAKE_CXX_FLAGS_DEBUG_INIT": "-fsanitize=undefined -Wall -Wextra -Wpedantic -Werror=return-type",
86-
"CMAKE_CXX_FLAGS_INIT": "-fsanitize=undefined -Wall -Wextra -Wpedantic -Werror"
88+
"CMAKE_CXX_FLAGS_INIT": "-fsanitize=undefined -Wall -Wextra -Wpedantic -Werror=return-type"
8789
}
8890
},
8991
{
@@ -93,8 +95,7 @@
9395
"inherits": "default",
9496
"binaryDir": "${sourceDir}/out/asan",
9597
"cacheVariables": {
96-
"CMAKE_CXX_FLAGS_DEBUG_INIT": "-fsanitize=address -Wall -Wextra -Wpedantic -Werror=return-type",
97-
"CMAKE_CXX_FLAGS_INIT": "-fsanitize=address -Wall -Wextra -Wpedantic -Werror"
98+
"CMAKE_CXX_FLAGS_INIT": "-fsanitize=address -Wall -Wextra -Wpedantic -Werror=return-type"
9899
}
99100
},
100101
{

ext/src.zip

275 Bytes
Binary file not shown.

src/app.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#include <embedded.hpp>
55
#include <klib/version_str.hpp>
66
#include <log.hpp>
7+
#include <utility>
78

89
namespace riff {
910
namespace {

src/ini.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#include <cassert>
44
#include <format>
55
#include <fstream>
6+
#include <vector>
67

78
namespace riff {
89
namespace {

src/ini.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
#include <charconv>
55
#include <string>
66
#include <unordered_map>
7-
#include <vector>
87

98
namespace riff {
109
class Ini {

0 commit comments

Comments
 (0)