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: Add test with mswin environment #544

Merged
merged 4 commits into from
Sep 1, 2023
Merged

Commits on May 21, 2023

  1. This PR fixes compiling the pg extension with MSVC 2022 when using ex…

    …tconf.rb, nmake and libpq installed by vcpkg (not mingw64).
    
    Running the command:
    
    ruby extconf.rb --with-pg-include=c:\Source\vcpkg\installed\x64-windows\include --with-pg-lib=c:\Source\vcpkg\installed\x64-windows\lib
    
    Fails with linker errors:
    
    pg_connection.obj : error LNK2019: unresolved external symbol __imp_WSAGetLastError referenced in function pg_rb_thread_io_wait
    
    This is fixed by adding ws2_32.lib to the linker command.
    cfis committed May 21, 2023
    Configuration menu
    Copy the full SHA
    bfebd30 View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2023

  1. Configuration menu
    Copy the full SHA
    46d9dad View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a4ed045 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    459288a View commit details
    Browse the repository at this point in the history