Tests: Dockerfile: Replace manual libplum building with nimble task.

This commit is contained in:
Constantine Molchanov 2026-06-10 18:44:33 +04:00
parent c0b96b6827
commit dd07d67155
No known key found for this signature in database
GPG Key ID: 933693C95E59269C

View File

@ -39,13 +39,7 @@ COPY vendor/ vendor/
RUN nimble setup -y
# Build libplum static library
RUN rm -rf vendor/libplum/build && \
cmake -B vendor/libplum/build \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_SHARED_LIBS=OFF \
vendor/libplum && \
cmake --build vendor/libplum/build && \
cp vendor/libplum/build/libplum.a vendor/libplum/libplum.a
RUN nimble buildBundledLibs
# Compile test binaries (protocol x memory manager)
COPY tests/ tests/