File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -27,17 +27,27 @@ jobs:
2727 sudo apt-get update
2828 sudo apt-get install -y libopenblas-dev g++ cmake ninja-build
2929
30+ - name : Cache MinkowskiEngine
31+ id : cache-minkowski
32+ uses : actions/cache@v4
33+ with :
34+ path : |
35+ ${{ env.pythonLocation }}/lib/python*/site-packages/MinkowskiEngine*
36+ ${{ env.pythonLocation }}/lib/python*/site-packages/minkowski*
37+ key : ${{ runner.os }}-minkowski-${{ matrix.python-version }}-02fc608-cpu-only
38+
3039 - name : Install dependencies
3140 run : |
3241 python -m pip install --upgrade pip
3342 pip install -e ".[tests,spconv]"
3443
3544 - name : Build and install MinkowskiEngine
45+ if : steps.cache-minkowski.outputs.cache-hit != 'true'
3646 run : |
3747 git clone https://github.com/NVIDIA/MinkowskiEngine.git
38-
3948 cd MinkowskiEngine
40- python setup.py install --blas=openblas --cpu_only
49+ git checkout 02fc608
50+ python setup.py install --blas=openblas --cpu_only
4151
4252 - name : Run tests with TorchScript enabled
4353 run : |
You can’t perform that action at this time.
0 commit comments