Skip to content

Auto-compile aliyun-oss-ruby-sdk C extension

What does this MR do and why?

Proof-of-concept:

$ bundle exec rails c
...

Compiling aliyun-sdk C extension...
~/gitlab/vendor/gems/aliyun-oss-ruby-sdk/ext/crcx ~/gitlab/vendor/gems/aliyun-oss-ruby-sdk
creating Makefile
linking shared-object aliyun/crcx.so
~/gitlab/vendor/gems/aliyun-oss-ruby-sdk
--------------------------------------------------------------------------------
 Ruby:         ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c5) [x86_64-linux]
 GitLab:       15.8.0-pre (831fa398a18) EE
 GitLab Shell: 14.15.0
 PostgreSQL:   12.9
-------------------------------------------------------------[ booted in 7.78s ]
Loading development environment (Rails 6.1.6.1)
[1] pry(main)> require 'aliyun/oss'
=> true

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #372491 (closed)

Merge request reports