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

CI: Enable the verbose mode in the mkmf.rb. #623

Merged
merged 1 commit into from
May 23, 2023

Commits on May 23, 2023

  1. CI: Enable the verbose mode in the mkmf.rb.

    Enable the verbose option in mkmf.rb to print the compiling commands in the
    process of the `rake compile`. Because it's helpful to see what compiler
    warnings are checked.
    
    The script only runs in Linux and macOS. Not Windows. Because the sh script
    doesn't work in Windows. For the syntax, see the reference.[1]
    
    Right now there is a way to configure Ruby with `--enable-mkmf-verbose` in this
    purpose. But there is no formal way to enable the verbose mode in runtime of
    Ruby. My intention is that this commit is a workaround for this purpose.
    
    [1] https://docs.github.com/en/actions/learn-github-actions/variables
      * Default environment variables - RUNNER_OS
      * Detecting the operating system
    junaruga committed May 23, 2023
    Configuration menu
    Copy the full SHA
    a832f5c View commit details
    Browse the repository at this point in the history