Skip to content

update citation

update citation #23

name: CMake CI (Ubuntu 20.04)
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
BUILD_TYPE: Release
jobs:
build:
runs-on: ubuntu-20.04 # 明确指定 Ubuntu 20.04
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
# 添加 Open3D 官方 PPA
sudo apt-get install -y software-properties-common
sudo add-apt-repository ppa:open3d/ppa -y
sudo apt-get update
# 安装指定版本 Open3D (0.17+)
sudo apt-get install -y \
libopen3d-dev=0.17.0+* \
cmake \
g++ \
libeigen3-dev \
libpcl-dev \
libyaml-cpp-dev
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -j 2
# 可选测试步骤
- name: Test
working-directory: ${{github.workspace}}/build
run: ctest -C ${{env.BUILD_TYPE}}