mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-08 19:44:57 -05:00
chore: stop using "build" target in CI
This commit is contained in:
@@ -53,7 +53,7 @@ jobs:
|
||||
cd /compiler
|
||||
pip install pytest
|
||||
export CONCRETE_PROJECT=/concrete
|
||||
make -B BUILD_DIR=/build build
|
||||
make -B BUILD_DIR=/build build-initialized
|
||||
make BUILD_DIR=/build test
|
||||
|
||||
- name: Send Slack Notification
|
||||
|
||||
@@ -14,8 +14,7 @@ ENV CONCRETE_PROJECT=/concrete
|
||||
# Setup and build compiler
|
||||
COPY /compiler /compiler
|
||||
WORKDIR /compiler
|
||||
RUN make Python3_EXECUTABLE=/opt/python/${python_tag}/bin/python build
|
||||
RUN make python-bindings
|
||||
RUN make Python3_EXECUTABLE=/opt/python/${python_tag}/bin/python python-bindings
|
||||
# Fix MLIR package
|
||||
RUN touch build/tools/zamalang/python_packages/zamalang_core/mlir/__init__.py
|
||||
RUN touch build/tools/zamalang/python_packages/zamalang_core/mlir/dialects/__init__.py
|
||||
|
||||
@@ -12,7 +12,6 @@ COPY /llvm-project /llvm-project
|
||||
COPY /compiler /compiler
|
||||
WORKDIR /compiler
|
||||
RUN mkdir -p /build
|
||||
RUN make BUILD_DIR=/build -B build
|
||||
RUN make BUILD_DIR=/build zamacompiler python-bindings
|
||||
ENV PYTHONPATH "$PYTHONPATH:/build/tools/zamalang/python_packages/zamalang_core:/build/tools/zamalang/python_packages/zamalang_core/mlir/_mlir_libs/"
|
||||
ENV PATH "$PATH:/build/bin"
|
||||
|
||||
Reference in New Issue
Block a user