Unverified Commit 94d3765b authored by guoshzhao's avatar guoshzhao Committed by GitHub
Browse files

Benchmarks: Build Pipeline - Call build script when setup environment. (#76)

* call build script in Makefile.
* add cppbuild command for testing and docker env.
parent 977b1a73
......@@ -15,6 +15,9 @@ steps:
- script: |
python3 -m pip install .[test,torch]
displayName: Install dependencies
- script: |
make cppbuild
displayName: Build benchmarks
- script: |
python3 setup.py lint
displayName: Run code lint
......
......@@ -10,3 +10,6 @@ cpplint:
cppformat:
clang-format --verbose -i $(CPPSOURCES)
cppbuild:
cd ./superbench/benchmarks/ && bash build.sh
......@@ -87,4 +87,5 @@ WORKDIR ${SB_HOME}
ADD . .
RUN cd ${SB_HOME} && \
python3 -m pip install .[torch]
python3 -m pip install .[torch] && \
make cppbuild
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment