Skip to content

Commit

Permalink
Fix ClangFormat installation on Linux (#1299)
Browse files Browse the repository at this point in the history
Signed-off-by: Juan Cruz Viotti <[email protected]>
  • Loading branch information
jviotti authored Oct 14, 2024
1 parent 80035b1 commit e8aa461
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
CXX: ${{ matrix.platform.cxx }}
steps:
- name: Install ClangFormat
run: pip install clang-format==19.1.0
run: pipx install clang-format==19.1.0

- uses: actions/checkout@v4
- name: Install dependencies (macOS)
Expand Down

4 comments on commit e8aa461

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark (macos/llvm)

Benchmark suite Current: e8aa461 Previous: 80035b1 Ratio
JSON_Array_Of_Objects_Unique 3516.411486676567 ns/iter 3524.4809743153646 ns/iter 1.00
JSONSchema_Validate_Draft4_Meta_1_No_Callback 732.0138295153246 ns/iter 732.9016436046949 ns/iter 1.00
JSONSchema_Validate_Draft4_Required_Properties 955.5022610579457 ns/iter 925.0930892596449 ns/iter 1.03
JSONSchema_Validate_Draft4_Many_Optional_Properties_Minimal_Match 151.1132697417725 ns/iter 152.13577630639696 ns/iter 0.99
JSONSchema_Validate_Draft4_Few_Optional_Properties_Minimal_Match 103.04393029678964 ns/iter 103.58019963067537 ns/iter 0.99
JSONSchema_Validate_Draft4_Items_Schema 2625.8033563695635 ns/iter 2641.4814997005737 ns/iter 0.99
JSONSchema_Validate_Draft4_Nested_Object 22.874123552868728 ns/iter 23.272336820529222 ns/iter 0.98
JSONSchema_Validate_Draft4_Properties_Triad_Optional 1254.6357367308767 ns/iter 1318.7281112081664 ns/iter 0.95
JSONSchema_Validate_Draft4_Properties_Triad_Closed 956.6923515662061 ns/iter 959.7773795244619 ns/iter 1.00
JSONSchema_Validate_Draft4_Properties_Triad_Required 1334.3677486154177 ns/iter 1308.460280615523 ns/iter 1.02
JSONSchema_Validate_Draft4_Non_Recursive_Ref 229.887226196462 ns/iter 212.77591336091416 ns/iter 1.08
JSONSchema_Validate_Draft4_Pattern_Properties_True 1440.2788727401803 ns/iter 1357.962821058604 ns/iter 1.06
JSONSchema_Validate_Draft4_Ref_To_Single_Property 111.91262378203625 ns/iter 105.38767637184328 ns/iter 1.06
JSONSchema_Validate_Draft4_Additional_Properties_Type 429.68226970737396 ns/iter 407.06509162632284 ns/iter 1.06
JSONSchema_Validate_Draft4_Nested_Oneof 383.23846201973197 ns/iter 357.7076872471596 ns/iter 1.07
JSONSchema_Validate_Draft6_Property_Names 815.6043101366048 ns/iter 772.9132230947268 ns/iter 1.06
JSONSchema_Validate_Draft7_If_Then_Else 177.12177016208548 ns/iter 167.93387209758976 ns/iter 1.05
JSONSchema_Compiler_Draft6_AdaptiveCard 2992392166.9999347 ns/iter 2959068749.9999146 ns/iter 1.01

This comment was automatically generated by workflow using github-action-benchmark.

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark (linux/llvm)

Benchmark suite Current: e8aa461 Previous: 80035b1 Ratio
JSON_Array_Of_Objects_Unique 1862.834962097188 ns/iter 2129.7482971443546 ns/iter 0.87
JSONSchema_Validate_Draft4_Meta_1_No_Callback 999.3433355913504 ns/iter 1021.1851785119057 ns/iter 0.98
JSONSchema_Validate_Draft4_Required_Properties 1568.8952964615619 ns/iter 1611.5520017007527 ns/iter 0.97
JSONSchema_Validate_Draft4_Many_Optional_Properties_Minimal_Match 183.15261616152213 ns/iter 182.76400297425715 ns/iter 1.00
JSONSchema_Validate_Draft4_Few_Optional_Properties_Minimal_Match 132.68871975345323 ns/iter 129.66637334385214 ns/iter 1.02
JSONSchema_Validate_Draft4_Items_Schema 3501.11695906439 ns/iter 3594.868101734803 ns/iter 0.97
JSONSchema_Validate_Draft4_Nested_Object 33.51494178167471 ns/iter 33.26358328181035 ns/iter 1.01
JSONSchema_Validate_Draft4_Properties_Triad_Optional 1754.3765131373107 ns/iter 1793.6127672764378 ns/iter 0.98
JSONSchema_Validate_Draft4_Properties_Triad_Closed 1439.458019645177 ns/iter 1479.0515503703514 ns/iter 0.97
JSONSchema_Validate_Draft4_Properties_Triad_Required 1835.65214001293 ns/iter 1905.5036980436253 ns/iter 0.96
JSONSchema_Validate_Draft4_Non_Recursive_Ref 491.79389042344974 ns/iter 482.0217641950772 ns/iter 1.02
JSONSchema_Validate_Draft4_Pattern_Properties_True 2538.4081716147493 ns/iter 2447.526124983162 ns/iter 1.04
JSONSchema_Validate_Draft4_Ref_To_Single_Property 140.0458904008732 ns/iter 132.27309908139276 ns/iter 1.06
JSONSchema_Validate_Draft4_Additional_Properties_Type 613.6269310495104 ns/iter 602.0956787476762 ns/iter 1.02
JSONSchema_Validate_Draft4_Nested_Oneof 459.3230976646359 ns/iter 506.9532063418618 ns/iter 0.91
JSONSchema_Validate_Draft6_Property_Names 1238.5178756944551 ns/iter 1296.15426143517 ns/iter 0.96
JSONSchema_Validate_Draft7_If_Then_Else 202.6921877474572 ns/iter 208.64915032281078 ns/iter 0.97
JSONSchema_Compiler_Draft6_AdaptiveCard 5186909077.999985 ns/iter 5559734777.000017 ns/iter 0.93

This comment was automatically generated by workflow using github-action-benchmark.

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark (linux/gcc)

Benchmark suite Current: e8aa461 Previous: 80035b1 Ratio
JSONSchema_Compiler_Draft6_AdaptiveCard 5537924852.00006 ns/iter 6180430808.999972 ns/iter 0.90
JSONSchema_Validate_Draft4_Meta_1_No_Callback 943.1878487028703 ns/iter 1074.8940526989795 ns/iter 0.88
JSONSchema_Validate_Draft4_Required_Properties 1669.5981041288308 ns/iter 2256.9993685172067 ns/iter 0.74
JSONSchema_Validate_Draft4_Many_Optional_Properties_Minimal_Match 177.2577081947157 ns/iter 196.71809818803362 ns/iter 0.90
JSONSchema_Validate_Draft4_Few_Optional_Properties_Minimal_Match 123.76041071547984 ns/iter 142.61018772140514 ns/iter 0.87
JSONSchema_Validate_Draft4_Items_Schema 3370.974291092616 ns/iter 3086.2665121873865 ns/iter 1.09
JSONSchema_Validate_Draft4_Nested_Object 24.079171743204295 ns/iter 23.958393336813533 ns/iter 1.01
JSONSchema_Validate_Draft4_Properties_Triad_Optional 1746.423691777115 ns/iter 1717.1716713770718 ns/iter 1.02
JSONSchema_Validate_Draft4_Properties_Triad_Closed 1465.4546757397243 ns/iter 1393.5436000399366 ns/iter 1.05
JSONSchema_Validate_Draft4_Properties_Triad_Required 1851.840312522152 ns/iter 1773.2287017166484 ns/iter 1.04
JSONSchema_Validate_Draft4_Non_Recursive_Ref 530.9977821370526 ns/iter 469.92206579551583 ns/iter 1.13
JSONSchema_Validate_Draft4_Pattern_Properties_True 2358.149755094621 ns/iter 2239.314230668066 ns/iter 1.05
JSONSchema_Validate_Draft4_Ref_To_Single_Property 128.4657799063508 ns/iter 145.01920213261306 ns/iter 0.89
JSONSchema_Validate_Draft4_Additional_Properties_Type 571.97893229286 ns/iter 1116.5152927213971 ns/iter 0.51
JSONSchema_Validate_Draft4_Nested_Oneof 439.5986618568501 ns/iter 432.30519235504585 ns/iter 1.02
JSONSchema_Validate_Draft6_Property_Names 1300.5628908951194 ns/iter 1585.0089575930424 ns/iter 0.82
JSONSchema_Validate_Draft7_If_Then_Else 195.73388437681422 ns/iter 202.75580146277298 ns/iter 0.97
JSON_Array_Of_Objects_Unique 2010.2789516062528 ns/iter 3223.1306541919316 ns/iter 0.62

This comment was automatically generated by workflow using github-action-benchmark.

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark (windows/msvc)

Benchmark suite Current: e8aa461 Previous: 80035b1 Ratio
JSON_Array_Of_Objects_Unique 5092.255357143114 ns/iter 5009.974999998121 ns/iter 1.02
JSONSchema_Validate_Draft4_Meta_1_No_Callback 2320.988592646757 ns/iter 2282.832050410901 ns/iter 1.02
JSONSchema_Validate_Draft4_Required_Properties 2025.9231853533072 ns/iter 2015.2740314951293 ns/iter 1.01
JSONSchema_Validate_Draft4_Many_Optional_Properties_Minimal_Match 553.2735714284951 ns/iter 551.9125892858158 ns/iter 1.00
JSONSchema_Validate_Draft4_Few_Optional_Properties_Minimal_Match 417.0799099518941 ns/iter 417.4175339714386 ns/iter 1.00
JSONSchema_Validate_Draft4_Items_Schema 6241.419642855865 ns/iter 6272.371428571384 ns/iter 1.00
JSONSchema_Validate_Draft4_Nested_Object 153.95558035713464 ns/iter 153.79663375905193 ns/iter 1.00
JSONSchema_Validate_Draft4_Properties_Triad_Optional 5339.195999999902 ns/iter 5327.908928569919 ns/iter 1.00
JSONSchema_Validate_Draft4_Properties_Triad_Closed 4358.204862407871 ns/iter 4385.980624999775 ns/iter 0.99
JSONSchema_Validate_Draft4_Properties_Triad_Required 5393.641964285426 ns/iter 5409.059999999499 ns/iter 1.00
JSONSchema_Validate_Draft4_Non_Recursive_Ref 565.6672000000071 ns/iter 565.3479000000061 ns/iter 1.00
JSONSchema_Validate_Draft4_Pattern_Properties_True 7972.386160715368 ns/iter 7989.553571428689 ns/iter 1.00
JSONSchema_Validate_Draft4_Ref_To_Single_Property 416.75229835918117 ns/iter 420.0249026824129 ns/iter 0.99
JSONSchema_Validate_Draft4_Additional_Properties_Type 800.8402901786837 ns/iter 788.8535714284066 ns/iter 1.02
JSONSchema_Validate_Draft4_Nested_Oneof 1076.6134374996739 ns/iter 1077.0853124999035 ns/iter 1.00
JSONSchema_Validate_Draft6_Property_Names 1849.4272883296758 ns/iter 1857.9991589278716 ns/iter 1.00
JSONSchema_Validate_Draft7_If_Then_Else 556.6774107141522 ns/iter 554.3655357141931 ns/iter 1.00
JSONSchema_Compiler_Draft6_AdaptiveCard 9933958000.000074 ns/iter 9988133800.000013 ns/iter 0.99

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.