Skip to content

fix: Fix imports

fix: Fix imports #4

Workflow file for this run

name: CMake and Google Test
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install CMake
run: sudo apt-get update && sudo apt-get install -y cmake
- name: Install Boost
run: sudo apt-get update && sudo apt-get install -y libboost-all-dev
- name: Install libtorch
run: |
wget https://download.pytorch.org/libtorch/cpu/libtorch-cxx11-abi-shared-with-deps-1.10.0%2Bcpu.zip
unzip libtorch-cxx11-abi-shared-with-deps-1.10.0+cpu.zip -d /opt/
- name: Create build directory
run: mkdir build
working-directory: ./LidarAug/cpp
- name: Configure and build
run: |
cd build
cmake -DBOOST_ROOT=/usr/include/boost -DCMAKE_PREFIX_PATH=/opt/libtorch ..
make
working-directory: ./LidarAug/cpp
- name: Run Google Test
run: |
cd build
ctest --output-on-failure
working-directory: ./LidarAug/cpp