Upgrade GitHub Actions workflow#157
Open
fdcastel wants to merge 1 commit intopostgresql-interfaces:mainfrom
Open
Upgrade GitHub Actions workflow#157fdcastel wants to merge 1 commit intopostgresql-interfaces:mainfrom
fdcastel wants to merge 1 commit intopostgresql-interfaces:mainfrom
Conversation
- Use prebuilt PostgreSQL x64 binaries instead of building from source - Build only the x86 libpq client library from source (NOT the full server) No official prebuilt x86 PostgreSQL binaries exist since PG 11. The test server is always x64; x86 libpq is only needed to compile and link the x86 ODBC driver. SSL is not required for the x86 client lib (CI tests use localhost). - Eliminate Win32/Win64 OpenSSL, pkgconfiglite dependencies (winflexbison is still required by the PostgreSQL meson build system) - Run standard and mimalloc builds in parallel using matrix strategy - Separate release job that runs only on version tags Closes postgresql-interfaces#156
Contributor
|
I believe we do require openssl to release a version. |
Contributor
|
The reason we pull from git is to get the latest. 17.9 is not the latest. We can cache the build though |
Contributor
Author
|
Sorry Dave. I have to admit I didn’t pay much attention to the release process. I focused mainly on the builds in this initial PR to get some early feedback. I’ll review how the current release process works and come back with a revised PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #156
Key improvements:
meson compile ... libpq:shared_library. The test server is always x64; x86 libpq is only needed to compile/link the x86 ODBC driver. No SSL needed since CI tests use localhost.Results (first run, no caches):
Subsequent cached runs will be even faster since the x86 libpq, x64 binaries, and all tools are cached.