forked from DeformableFriends/NeuralTracking
-
Notifications
You must be signed in to change notification settings - Fork 5
52 lines (38 loc) · 1.05 KB
/
build_and_test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: C/C++ CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: cuda-toolkit
uses: Jimver/[email protected]
id: cuda-toolkit
with:
cuda: '11.7.1'
method: 'network'
- name: Checkout
uses: actions/checkout@v2
with:
path: NNRTF
submodules: recursive
- name: Checkout Open3D
uses: actions/checkout@v2
with:
repository: isl-org/Open3D
path: Open3D
ref: v0.17.0-1fix6008
fetch-depth: 0
- name: Build Open3D
working-directory: ./Open3D
run: |
sudo apt install -y xorg-dev libglu1-mesa-dev
mkdir install
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_CUDA_MODULE=ON -DCMAKE_INSTALL_PREFIX="${CMAKE_SOURCE_DIR}/install" ..
make -j2
sudo make install
cmake --build . --target install-pip-package -- -j2