Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
junrushao committed Aug 5, 2023
1 parent 87e90ce commit e864154
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/mlc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ jobs:
with:
environment-file: conda/build-environment.yaml
condarc-file: conda/condarc
cache-environment: true
post-cleanup: 'all'
- name: Conda info
shell: bash -l {0}
run: |
Expand All @@ -62,11 +64,12 @@ jobs:
-DUSE_LIBBACKTRACE=OFF \
-DUSE_METAL=ON \
..
cmake --build . --parallel $(nproc)
make -j $(nproc)
cd ..
- name: Test
shell: bash -l {0}
run: >-
export PYTHONPATH=./python:${PYTHONPATH}
python -m pytest -v tests/python/all-platform-minimal-test
- name: Build iOS RPC
shell: bash -l {0}
Expand All @@ -87,7 +90,7 @@ jobs:
shell: bash -l {0}
run: |
python -m pip install tornado psutil cloudpickle
export PYTHONPATH=tests/python/contrib:${PYTHONPATH}
export PYTHONPATH=./tests/python/contrib:./python:${PYTHONPATH}
export BUNDLE_ID=org.apache.tvmrpc
export BUNDLE_PATH=build-ios-simulator/apps/ios_rpc/ios_rpc/src/ios_rpc-build/Release-iphonesimulator/tvmrpc.app
python -m pytest -v tests/python/contrib/test_rpc_server_device.py
Expand Down Expand Up @@ -125,4 +128,5 @@ jobs:
- name: Test
shell: cmd /C call {0}
run: >-
set PYTHONPATH=.\python;%PYTHONPATH%
python -m pytest -v tests/python/all-platform-minimal-test

0 comments on commit e864154

Please sign in to comment.