cloudini 0.3.2

The cloudini point cloud compression library for Rust.
Documentation
name: Ubuntu Build & Test

on:
  push:
    branches: [ main ]
  pull_request:
    branches: [ main ]
  workflow_dispatch:

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v6

      - name: Cache apt packages
        uses: awalsh128/cache-apt-pkgs-action@latest
        with:
          packages: git cmake liblz4-dev libzstd-dev libgtest-dev
          version: 1.0

      - name: Cache CMake files
        uses: actions/cache@v5
        with:
          path: |
            ~/.cache/cmake
            build
          key: ${{ runner.os }}-cmake-${{ hashFiles('**/CMakeLists.txt') }}
          restore-keys: |
            ${{ runner.os }}-cmake-

      - name: Configure
        run: |
          mkdir -p build
          cd build
          cmake ../cloudini_lib -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON

      - name: Build
        working-directory: build
        run: make -j$(nproc)

      - name: Run tests
        working-directory: build
        run: ctest --output-on-failure