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 44name : main
55
66on :
7- push :
8- branches :
9- - " **"
7+ pull_request :
8+ merge_group :
109
1110jobs :
11+ typos-check :
12+ name : Typos Check
13+ runs-on : ubuntu-latest
14+ steps :
15+ - uses : actions/checkout@v4
16+ - uses : crate-ci/typos@v1.19.0
17+
1218 formatting-check :
1319 name : Formatting Check
1420 runs-on : ubuntu-latest
1521 steps :
1622 - 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 " }
1925
2026 test-windows :
2127 runs-on : windows-latest
2228 steps :
23- - name : Ecsact SDK
24- uses : ecsact-dev/github-action@0.1.0
25- - uses : actions/cache@v3
29+ - uses : actions/cache@v4
2630 with :
2731 path : |
2832 /Users/runneradmin/AppData/Local/bazelisk
2933 /Users/runneradmin/.cache/bazel-disk-cache
3034 key : ${{runner.os}}-bazel-cache
3135 - uses : actions/checkout@v4
32- - run : bazelisk --output_user_root=C:/tmp build --config=ci //...
36+ - run : bazelisk build --config=ci //...
3337 - if : ${{ hashfiles('test/MODULE.bazel') != '' }}
34- run : bazelisk --output_user_root=C:/tmp test --config=ci ...
38+ run : bazelisk test --config=ci ...
3539 working-directory : test
3640
3741 test-linux :
3842 runs-on : ubuntu-latest
3943 steps :
40- - name : Ecsact SDK
41- uses : ecsact-dev/github-action@0.1.0
42- - uses : actions/cache@v3
44+ - uses : actions/cache@v4
4345 with :
4446 path : |
4547 ~/.cache/bazelisk
Original file line number Diff line number Diff line change @@ -10,9 +10,6 @@ build --enable_runfiles
1010build --noincompatible_remove_rule_name_parameter
1111query --noincompatible_remove_rule_name_parameter
1212
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-
1613common:ci --announce_rc
1714common:ci --verbose_failures
1815common:ci --keep_going
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ copts = selects.with_or({
1010 "-fexperimental-library" ,
1111 ],
1212 ("@rules_cc//cc/compiler:msvc-cl" , "@rules_cc//cc/compiler:clang-cl" ): [
13- "/std:c++latest " ,
13+ "/std:c++20 " ,
1414 "/permissive-" ,
1515 "/Zc:preprocessor" ,
1616 ],
Original file line number Diff line number Diff line change @@ -443,8 +443,9 @@ static auto print_sys_exec_ctx_generate(
443443 });
444444}
445445
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 {
448449 using ecsact::rt_entt_codegen::util::method_printer;
449450
450451 auto printer = //
@@ -761,17 +762,19 @@ static auto get_unique_view_name() -> std::string {
761762}
762763
763764template <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 {
766768 using ecsact::cc_lang_support::c_identifier;
767769 auto full_name =
768770 c_identifier (ecsact::meta::decl_full_name (component_like_id));
769771 return full_name + " Struct" ;
770772}
771773
772774template <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 {
775778 using ecsact::cc_lang_support::c_identifier;
776779 auto full_name =
777780 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