Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DRAFT (WIP)] Add integration script for ruby 3.1 #1563

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

samuel40791765
Copy link
Contributor

Description of changes:

We're nowhere near full support for Ruby, but here's a script to test this in our CI once we have it.

Call-outs:

WIP

Testing:

CI

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.

@samuel40791765 samuel40791765 force-pushed the ruby-integration branch 2 times, most recently from aa00d22 to 03b8ff6 Compare April 30, 2024 19:07
Copy link
Contributor

@WillChilds-Klein WillChilds-Klein left a comment

Choose a reason for hiding this comment

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

(sorry for lurking on a draft)

pushd ${branch}
./autogen.sh
mkdir -p build && cd build
../configure --with-openssl-dir=${AWS_LC_INSTALL_FOLDER} \
Copy link
Contributor

Choose a reason for hiding this comment

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

minor nit: you can use the -C flag for make to specify a directory instead of cding into build

../configure --with-openssl-dir=${AWS_LC_INSTALL_FOLDER} \
--with-openssl-lib=${AWS_LC_INSTALL_FOLDER}/lib \
--with-openssl-include=${AWS_LC_INSTALL_FOLDER}/include
make -j ${NUM_CPU_THREADS}
Copy link
Contributor

Choose a reason for hiding this comment

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

after the build (and tests), we should be able to ensure that we're linked against AWS-LC with

$ ruby -e 'require "openssl"; puts OpenSSL::OPENSSL_VERSION'
OpenSSL 1.0.2k  26 Jan 2017

@samuel40791765 samuel40791765 force-pushed the ruby-integration branch 2 times, most recently from 771ff8c to 0d9098b Compare September 4, 2024 23:12
@codecov-commenter
Copy link

codecov-commenter commented Sep 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.90%. Comparing base (0d4dab7) to head (77a48a9).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1563      +/-   ##
==========================================
- Coverage   78.91%   78.90%   -0.01%     
==========================================
  Files         595      595              
  Lines      102098   102098              
  Branches    14482    14482              
==========================================
- Hits        80567    80557      -10     
- Misses      20880    20891      +11     
+ Partials      651      650       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@samuel40791765 samuel40791765 force-pushed the ruby-integration branch 3 times, most recently from 6cf2b3d to 365401c Compare September 12, 2024 19:55
@samuel40791765 samuel40791765 force-pushed the ruby-integration branch 2 times, most recently from f69869d to 26b722a Compare September 18, 2024 23:51
@samuel40791765 samuel40791765 force-pushed the ruby-integration branch 2 times, most recently from 85edc6b to 6bacec1 Compare October 4, 2024 17:37
@samuel40791765 samuel40791765 force-pushed the ruby-integration branch 6 times, most recently from 44b7edb to 95cd424 Compare November 1, 2024 22:10
@samuel40791765 samuel40791765 force-pushed the ruby-integration branch 6 times, most recently from 08773c6 to 66b4176 Compare November 12, 2024 01:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants