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 6 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

Attention: Patch coverage is 26.92308% with 19 lines in your changes missing coverage. Please review.

Project coverage is 78.48%. Comparing base (ca8180c) to head (6bacec1).

Files with missing lines Patch % Lines
crypto/fipsmodule/evp/evp_ctx.c 0.00% 15 Missing ⚠️
crypto/fipsmodule/evp/p_rsa.c 63.63% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1563      +/-   ##
==========================================
- Coverage   78.49%   78.48%   -0.02%     
==========================================
  Files         585      585              
  Lines       99630    99652      +22     
  Branches    14254    14257       +3     
==========================================
+ Hits        78206    78209       +3     
- Misses      20789    20807      +18     
- Partials      635      636       +1     

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

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