Build benchmarks on arch/alpine

This commit is contained in:
emeric
2024-02-03 14:51:39 +01:00
parent 2214d75419
commit 676600e92d
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
FROM archlinux:latest
ARG BUILD_PACKAGES="\
benchmark \
clang \
cmake \
boost \
@@ -22,6 +23,6 @@ COPY . /tmp/lms/
ARG LMS_BUILD_TYPE="Release"
RUN \
DIR=/tmp/lms/build && mkdir -p ${DIR} && cd ${DIR} && \
cmake /tmp/lms/ -DCMAKE_BUILD_TYPE=${LMS_BUILD_TYPE} -DCMAKE_INSTALL_PREFIX=/usr && \
cmake /tmp/lms/ -DCMAKE_BUILD_TYPE=${LMS_BUILD_TYPE} -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_BENCHMARKS=ON && \
VERBOSE=1 make -j$(nproc) && \
make test