Files
neon/.github
Heikki Linnakangas f845707630 impr(ci): Simplify build-macos workflow, prepare for rust communicator
Don't build walproposer-lib as a separate job. It only takes a few
seconds, after you have built all its dependencies.

Don't cache the Neon Pg extensions in the per-postgres-version caches.
This is in preparation for the communicator project, which will
introduce Rust parts to the Neon Pg extension, which complicates the
build process.  With that, the 'make neon-pg-ext' step requires some
of the Rust bits to be built already, or it will build them on the
spot, which in turn requires all the Rust sources to be present, and
we don't want to repeat that part for each Postgres version anyway.
To prepare to for that, rely on "make all" to build the neon extension
and the rust bits in the correct order instead. Building the neon
extension doesn't currently take very long anyway after you have
built Postgres itself, so you don't gain much by caching it. See
https://github.com/neondatabase/neon/pull/12266.

Add an explicit "rustup update" step to update the toolchain. It's not
strictly necessary right now, because currently "make all" will only
invoke "cargo build" once and the race condition described in the
comment doesn't happen. But prepare for the future.
2025-06-26 19:47:58 +03:00
..