rails-sqlserver / tiny_tds

TinyTDS - Simple and fast FreeTDS bindings for Ruby using DB-Library.
Other
607 stars 189 forks source link

Test installation on Windows without precompiled code #544

Closed andyundso closed 10 months ago

andyundso commented 10 months ago

This PR adds jobs to the CircleCI pipeline to test the fix submitted by @Largo in #536. The jobs install the gem on Windows without any precompiled code and executes it afterwards.

This branch also includes the commit from @Largo which fixes the installation.

This new job does not run with Ruby 2.4. The msys2 installation for older Ruby versions is old as well, but from Ruby 2.5, we can update it using a key refresh. With Ruby 2.4, pacman-key was no available in the shipped msys2 version. I tried to manually install a new version of msys2. Then, ridk install 2 3 failed because it tried to install quite old versions of automake. There was a fix for this as well, but if we need to go such lengths for testing on EOL Ruby versions, I rather don't do it.

andyundso commented 10 months ago

as discussed with @aharpervc via mail, we want to include this fix in the next release, so I'm going ahead and merge this branch.