Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F139966
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
928 B
Referenced Files
None
Subscribers
None
View Options
diff --git a/Dockerfile.cov b/Dockerfile.cov
index 402da10..74ad2fb 100644
--- a/Dockerfile.cov
+++ b/Dockerfile.cov
@@ -1,17 +1,22 @@
FROM reg.lily.kazv.moe/kazv/libkazv-deps/deps:servant
RUN mkdir -pv /build
COPY . /build/libkazv
WORKDIR /build/libkazv
ARG BUILD_TYPE=Debug
ARG JOBS=3
+
+ARG DEPS_INSTALL_DIR=/opt/libkazv-deps
+ARG LIBKAZV_INSTALL_DIR=/opt/libkazv
+
RUN mkdir build && cd build && \
- cmake .. -DCMAKE_BUILD_TYPE=$BUILD_TYPE -Dlibkazv_BUILD_TESTS=ON \
+ export CC=gcc-9 CXX=g++-9 && \
+ cmake .. -DCMAKE_INSTALL_PREFIX="$LIBKAZV_INSTALL_DIR" -DCMAKE_PREFIX_PATH="$DEPS_INSTALL_DIR" -DCMAKE_BUILD_TYPE=$BUILD_TYPE -Dlibkazv_BUILD_TESTS=ON \
-Dlibkazv_BUILD_EXAMPLES=ON -Dlibkazv_BUILD_KAZVJOB=ON -Dlibkazv_ENABLE_COVERAGE=ON && \
make -j$JOBS && \
./src/tests/kazvtest && \
gcovr -r ../src --object-directory src && \
cd ../.. && \
rm -rf /build/libkazv
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sun, Jan 19, 9:01 AM (1 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
55053
Default Alt Text
(928 B)
Attached To
Mode
rL libkazv
Attached
Detach File
Event Timeline
Log In to Comment