-
Notifications
You must be signed in to change notification settings - Fork 180
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include an arm64 shared library in the ruby gem (#1733)
* Update nokogiri to version with support for apple silicon * Update gem dependencies to address spec failures running with Ruby 3 * Require ActiveRecordAdapter from spec that uses it * Add support for both x86_64 and arm64 linux architectures * Build both x86 and arm dynamic libraries for ruby * Use Ruby 2.6 as minimum tested version and 3.2 for all ruby-related tasks Rationale: 2.6.10 is what ships with macOS 14.0 even though support for it stopped in March of 2022 and 3.2 is the latest stable version. * Ensure the ruby libs are copied and available for testing * Bump solargraph and rubocop Disable new cops for existing violations * Update bundler to get rid of SPELL_CHECKERS warning * Do not suggest extensions * Simplify YARD docs for query method Add the host and bindings parameters so calls that contain them don't fail typecheck * Must use Ruby 2.4 in order to build the docs on main * Must use Ruby 2.4 in order to build the docs on main * Use .ruby-version instead of hard-coding the current ruby version in Github actions The rationale for this is from the way that docs diffing works. Both the base branch and the new branch need to be able to build using the version of Ruby supported by that branch. Without this change, when a PR is introduced that updates the target Ruby version, a followup PR will be required to update the github action for building the 'base' branch's version of the docs. With this change, github actions will choose the version of Ruby targeted by the branch it is trying to build * Clippy * Cargo fmt * Test * Try building aarch64 first Seeing if [this](cross-rs/cross#724 (comment)) is a quick fix so I can avoid any deeper debugging. * Keep shuffling the deck chairs * Revert "Test" This reverts commit 7feebd1. * Add 0.27.3 changelog * Bump version * Let's just release now instead --------- Co-authored-by: Gabe Jackson <17556281+gj@users.noreply.github.com>
- Loading branch information
Showing
35 changed files
with
262 additions
and
148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.27.2 | ||
0.27.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
title: Release 2024-01-12 | ||
menuTitle: 2024-01-12 | ||
any: true | ||
description: >- | ||
Changelog for Release 2024-01-12 (0.27.3) containing new features, | ||
bug fixes, and more. | ||
--- | ||
|
||
## `oso` 0.27.3 | ||
|
||
### Ruby | ||
|
||
#### New features | ||
|
||
##### Linux AArch64 support | ||
|
||
You can now run the `oso-oso` gem in AArch64 Linux environments, including in | ||
Docker on Apple silicon. | ||
|
||
Thanks to [`@jdeff`](https://github.com/jdeff) for the contribution! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,3 +11,4 @@ vendor | |
|
||
# rspec failure tracking | ||
.rspec_status | ||
ext |
Oops, something went wrong.
b545cf5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rust Benchmark
rust_get_attribute
28970
ns/iter (± 1932
)29412
ns/iter (± 971
)0.98
n_plus_one/100
1521505
ns/iter (± 25726
)1587993
ns/iter (± 17731
)0.96
n_plus_one/500
7375274
ns/iter (± 149595
)7749856
ns/iter (± 26196
)0.95
n_plus_one/1000
14654173
ns/iter (± 135512
)15342558
ns/iter (± 96574
)0.96
unify_once
619
ns/iter (± 10
)629
ns/iter (± 16
)0.98
unify_twice
1735
ns/iter (± 66
)1751
ns/iter (± 16
)0.99
many_rules
38973
ns/iter (± 898
)39405
ns/iter (± 816
)0.99
fib/5
345177
ns/iter (± 5014
)345576
ns/iter (± 5031
)1.00
prime/3
10413
ns/iter (± 426
)10440
ns/iter (± 397
)1.00
prime/23
10430
ns/iter (± 450
)10449
ns/iter (± 397
)1.00
prime/43
10479
ns/iter (± 550
)10445
ns/iter (± 387
)1.00
prime/83
10414
ns/iter (± 393
)10444
ns/iter (± 380
)1.00
prime/255
9338
ns/iter (± 363
)9351
ns/iter (± 408
)1.00
indexed/100
3402
ns/iter (± 403
)3530
ns/iter (± 462
)0.96
indexed/500
3947
ns/iter (± 1242
)3978
ns/iter (± 1412
)0.99
indexed/1000
4450
ns/iter (± 304
)4520
ns/iter (± 586
)0.98
indexed/10000
8153
ns/iter (± 1932
)9036
ns/iter (± 1232
)0.90
not
3985
ns/iter (± 68
)4021
ns/iter (± 530
)0.99
double_not
8416
ns/iter (± 265
)8541
ns/iter (± 175
)0.99
De_Morgan_not
5458
ns/iter (± 102
)5461
ns/iter (± 80
)1.00
load_policy
659950
ns/iter (± 26231
)712346
ns/iter (± 6628
)0.93
partial_and/1
20764
ns/iter (± 688
)20825
ns/iter (± 671
)1.00
partial_and/5
68750
ns/iter (± 1998
)68790
ns/iter (± 2097
)1.00
partial_and/10
128523
ns/iter (± 3421
)129434
ns/iter (± 5909
)0.99
partial_and/20
267199
ns/iter (± 5217
)270955
ns/iter (± 4789
)0.99
partial_and/40
585692
ns/iter (± 8504
)590838
ns/iter (± 8087
)0.99
partial_and/80
1353513
ns/iter (± 45850
)1370780
ns/iter (± 8510
)0.99
partial_and/100
1805651
ns/iter (± 11852
)1824816
ns/iter (± 10745
)0.99
partial_rule_depth/1
62238
ns/iter (± 2249
)62680
ns/iter (± 2617
)0.99
partial_rule_depth/5
212950
ns/iter (± 6046
)214308
ns/iter (± 6871
)0.99
partial_rule_depth/10
483155
ns/iter (± 22803
)485166
ns/iter (± 9809
)1.00
partial_rule_depth/20
1380034
ns/iter (± 19506
)1380301
ns/iter (± 27794
)1.00
partial_rule_depth/40
4918098
ns/iter (± 33780
)4936449
ns/iter (± 36963
)1.00
partial_rule_depth/80
27809958
ns/iter (± 341458
)27746529
ns/iter (± 367546
)1.00
partial_rule_depth/100
50033237
ns/iter (± 468928
)50033526
ns/iter (± 573682
)1.00
This comment was automatically generated by workflow using github-action-benchmark.