Fixed arch build

This commit is contained in:
emeric
2022-05-28 14:57:39 +02:00
parent 558ffe1d87
commit 657b35d541
8 changed files with 75 additions and 18 deletions
+26
View File
@@ -0,0 +1,26 @@
FROM archlinux:latest
ARG BUILD_PACKAGES="\
clang \
cmake \
boost \
ffmpeg \
gtest \
graphicsmagick \
libconfig \
make \
pkgconfig \
taglib \
wt"
RUN pacman -Syy
RUN pacman -S --noconfirm ${BUILD_PACKAGES}
# LMS
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 && \
VERBOSE=1 make -j$(nproc) && \
make test