mirror of
https://github.com/logos-storage/nim-libplum.git
synced 2026-07-24 00:03:11 +00:00
Tests: Dockerfile: Replace manual libplum building with nimble task.
This commit is contained in:
parent
c0b96b6827
commit
dd07d67155
@ -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/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user