Skip to content

Fix

Fix #23

Workflow file for this run

name: Build packages
on:
push: {}
workflow_dispatch: {}
jobs:
build:
runs-on: ubuntu-latest
container:
image: nvidia/cuda:12.3.1-devel-ubuntu22.04
steps:
- name: Install dependencies
run: |
export DEBIAN_FRONTEND=noninteractive
apt-get update
apt-get install -y libgl1-mesa-dev \
libsoundio-dev \
libjpeg-dev \
libvulkan-dev \
libx11-dev \
libxcursor-dev \
libxinerama-dev \
libxrandr-dev \
libusb-1.0-0-dev \
libssl-dev \
libudev-dev \
libopencv-dev \
mesa-common-dev \
uuid-dev \
build-essential \
cmake \
git \
pkg-config \
sudo
- uses: actions/checkout@v3
- name: Clone submodules
run: |
git config --global --add safe.directory /__w/Azure-Kinect-Sensor-SDK/Azure-Kinect-Sensor-SDK
git submodule update --init --recursive
- name: Build
run: |
mkdir build
cd build
cmake .. -DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda-12.3 -DCMAKE_BUILD_TYPE=Release -DCPACK_PACKAGE_CONTACT=ForteFibre
make -j
- name: Create packages
run: |
cd build
cpack -G DEB
- name: Upload packages
uses: actions/upload-artifact@v2
with:
name: packages
path: build/*.deb