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:
27
27
sudo apt-get update
28
28
sudo apt-get install -y libopenblas-dev g++ cmake ninja-build
29
29
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
+
30
39
- name : Install dependencies
31
40
run : |
32
41
python -m pip install --upgrade pip
33
42
pip install -e ".[tests,spconv]"
34
43
35
44
- name : Build and install MinkowskiEngine
45
+ if : steps.cache-minkowski.outputs.cache-hit != 'true'
36
46
run : |
37
47
git clone https://github.com/NVIDIA/MinkowskiEngine.git
38
-
39
48
cd MinkowskiEngine
40
- python setup.py install --blas=openblas --cpu_only
49
+ git checkout 02fc608
50
+ python setup.py install --blas=openblas --cpu_only
41
51
42
52
- name : Run tests with TorchScript enabled
43
53
run : |
You can’t perform that action at this time.
0 commit comments