File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed
Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change 8585 uses : actions/upload-artifact@v2
8686 with :
8787 name : linux-wheel-cmake
88- path : ~/cmake_build/py_pkg/dist/*.whl
88+ path : |
89+ ~/cmake_build/py_pkg/dist/*.whl
90+ ~/example_unrolling_service/loop_unroller/loop_unroller
91+ ~/loop_optimizations_service/opt_loops/opt_loops
8992 if-no-files-found : error
9093 retention-days : 7
9194
@@ -233,6 +236,12 @@ jobs:
233236 uses : actions/download-artifact@v2
234237 with :
235238 name : linux-wheel-cmake
239+
240+ - name : Move examples binaries
241+ run : |
242+ mv loop_unroller ~/example_unrolling_service/loop_unroller/loop_unroller
243+ mv opt_loops ~/loop_optimizations_service/opt_loops/opt_loops
244+ shell : bash
236245
237246 - name : Install wheel
238247 run : python -m pip install *.whl
@@ -245,6 +254,15 @@ jobs:
245254
246255 - name : Run the test suite
247256 run : make install-test PYTEST_ARGS="--ignore tests/mlir"
257+
258+ - name : Run environment examples
259+ run : |
260+ cd examples
261+ python example_compiler_gym_service/demo_without_bazel.py
262+ python example_unrolling_service/example_without_bazel.py
263+ python loop_optimizations_service/example_without_bazel.py
264+ cd -
265+ shell : bash
248266
249267 test-mlir-env-linux-cmake :
250268 needs : build-mlir-env-linux-cmake
You can’t perform that action at this time.
0 commit comments