File tree Expand file tree Collapse file tree 5 files changed +30
-23
lines changed Expand file tree Collapse file tree 5 files changed +30
-23
lines changed Original file line number Diff line number Diff line change 4
4
name : main
5
5
6
6
on :
7
- push :
8
- branches :
9
- - " **"
7
+ pull_request :
8
+ merge_group :
10
9
11
10
jobs :
11
+ typos-check :
12
+ name : Typos Check
13
+ runs-on : ubuntu-latest
14
+ steps :
15
+ - uses : actions/checkout@v4
16
+ -
uses :
crate-ci/[email protected]
17
+
12
18
formatting-check :
13
19
name : Formatting Check
14
20
runs-on : ubuntu-latest
15
21
steps :
16
22
- uses : actions/checkout@v4
17
- - uses : jidicula/clang-format-action@v4.9 .0
18
- with : { clang-format-version: "16 " }
23
+ - uses : jidicula/clang-format-action@v4.11 .0
24
+ with : { clang-format-version: "18 " }
19
25
20
26
test-windows :
21
27
runs-on : windows-latest
22
28
steps :
23
- - name : Ecsact SDK
24
- uses :
ecsact-dev/[email protected]
25
- - uses : actions/cache@v3
29
+ - uses : actions/cache@v4
26
30
with :
27
31
path : |
28
32
/Users/runneradmin/AppData/Local/bazelisk
29
33
/Users/runneradmin/.cache/bazel-disk-cache
30
34
key : ${{runner.os}}-bazel-cache
31
35
- uses : actions/checkout@v4
32
- - run : bazelisk --output_user_root=C:/tmp build --config=ci //...
36
+ - run : bazelisk build --config=ci //...
33
37
- if : ${{ hashfiles('test/MODULE.bazel') != '' }}
34
- run : bazelisk --output_user_root=C:/tmp test --config=ci ...
38
+ run : bazelisk test --config=ci ...
35
39
working-directory : test
36
40
37
41
test-linux :
38
42
runs-on : ubuntu-latest
39
43
steps :
40
- - name : Ecsact SDK
41
- uses :
ecsact-dev/[email protected]
42
- - uses : actions/cache@v3
44
+ - uses : actions/cache@v4
43
45
with :
44
46
path : |
45
47
~/.cache/bazelisk
Original file line number Diff line number Diff line change @@ -10,9 +10,6 @@ build --enable_runfiles
10
10
build --noincompatible_remove_rule_name_parameter
11
11
query --noincompatible_remove_rule_name_parameter
12
12
13
- # Temporary until https://github.com/grailbio/bazel-toolchain/pull/198 is merged
14
- build:linux --extra_toolchains=@llvm_toolchain//:cc-toolchain-x86_64-linux
15
-
16
13
common:ci --announce_rc
17
14
common:ci --verbose_failures
18
15
common:ci --keep_going
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ copts = selects.with_or({
10
10
"-fexperimental-library" ,
11
11
],
12
12
("@rules_cc//cc/compiler:msvc-cl" , "@rules_cc//cc/compiler:clang-cl" ): [
13
- "/std:c++latest " ,
13
+ "/std:c++20 " ,
14
14
"/permissive-" ,
15
15
"/Zc:preprocessor" ,
16
16
],
Original file line number Diff line number Diff line change @@ -443,8 +443,9 @@ static auto print_sys_exec_ctx_generate(
443
443
});
444
444
}
445
445
446
- static auto print_sys_exec_ctx_parent (ecsact::codegen_plugin_context& ctx)
447
- -> void {
446
+ static auto print_sys_exec_ctx_parent ( //
447
+ ecsact::codegen_plugin_context& ctx
448
+ ) -> void {
448
449
using ecsact::rt_entt_codegen::util::method_printer;
449
450
450
451
auto printer = //
@@ -761,17 +762,19 @@ static auto get_unique_view_name() -> std::string {
761
762
}
762
763
763
764
template <typename ComponentLikeID>
764
- static auto create_context_struct_name (ComponentLikeID component_like_id)
765
- -> std::string {
765
+ static auto create_context_struct_name ( //
766
+ ComponentLikeID component_like_id
767
+ ) -> std::string {
766
768
using ecsact::cc_lang_support::c_identifier;
767
769
auto full_name =
768
770
c_identifier (ecsact::meta::decl_full_name (component_like_id));
769
771
return full_name + " Struct" ;
770
772
}
771
773
772
774
template <typename ComponentLikeID>
773
- static auto create_context_var_name (ComponentLikeID component_like_id)
774
- -> std::string {
775
+ static auto create_context_var_name ( //
776
+ ComponentLikeID component_like_id
777
+ ) -> std::string {
775
778
using ecsact::cc_lang_support::c_identifier;
776
779
auto full_name =
777
780
c_identifier (ecsact::meta::decl_full_name (component_like_id));
Original file line number Diff line number Diff line change
1
+ [files ]
2
+ extend-exclude = [" CHANGELOG.md" ]
3
+
4
+ [default ]
5
+ extend-ignore-re = [" (?Rm)^.*(#|//)\\ s*typos:disable-line$" ]
You can’t perform that action at this time.
0 commit comments