cmake(ci): fix pybind11_protobuf missing in system_deps targets
This commit is contained in:
@@ -3,15 +3,18 @@ ENV PATH=/root/.local/bin:$PATH
|
||||
RUN pacman -Syu --noconfirm pybind11
|
||||
RUN pacman -Syu --noconfirm python \
|
||||
python-setuptools python-wheel python-virtualenv \
|
||||
python-pip python-protobuf
|
||||
RUN python -m pip install mypy_protobuf
|
||||
python-pip python-protobuf python-numpy python-pandas
|
||||
RUN python -m pip install --break-system-package \
|
||||
absl-py mypy mypy-protobuf
|
||||
|
||||
FROM env AS devel
|
||||
WORKDIR /home/project
|
||||
COPY . .
|
||||
|
||||
FROM devel AS build
|
||||
# Archlinux do not provide pybind11 protobuf package
|
||||
RUN cmake -S. -Bbuild -DBUILD_DEPS=OFF \
|
||||
-DBUILD_pybind11_protobuf=ON \
|
||||
-DUSE_COINOR=ON -DUSE_GLPK=ON -DUSE_SCIP=ON \
|
||||
-DBUILD_PYTHON=ON \
|
||||
-DBUILD_CXX_SAMPLES=OFF -DBUILD_CXX_EXAMPLES=OFF
|
||||
|
||||
Reference in New Issue
Block a user