mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-30 03:20:36 +00:00
fix: CI requires the cdylibs
This commit is contained in:
10
.github/workflows/build_and_test.yml
vendored
10
.github/workflows/build_and_test.yml
vendored
@@ -260,6 +260,16 @@ jobs:
|
||||
cp "$SRC" "$DST"
|
||||
done
|
||||
|
||||
cdylibs=$(
|
||||
${cov_prefix} cargo metadata $CARGO_FEATURES --format-version=1 --no-deps |
|
||||
jq -r '.packages[].targets[] | select(.kind | index("cdylib")) | .name'
|
||||
)
|
||||
for lib in $cdylibs; do
|
||||
SRC=target/$BUILD_TYPE/$lib.so
|
||||
DST=/tmp/neon/bin/$lib.so
|
||||
cp "$SRC" "$DST"
|
||||
done
|
||||
|
||||
# Install test executables and write list of all binaries (for code coverage)
|
||||
if [[ $BUILD_TYPE == "debug" ]]; then
|
||||
# Keep bloated coverage data files away from the rest of the artifact
|
||||
|
||||
Reference in New Issue
Block a user