Skip to content

RSDK-5745 - Add build system and CI for RPI appimage/module #14

RSDK-5745 - Add build system and CI for RPI appimage/module

RSDK-5745 - Add build system and CI for RPI appimage/module #14

Workflow file for this run

name: Test pull request
on:
pull_request:
branches:
- '*'
jobs:
test-package:
runs-on: [buildjet-2vcpu-ubuntu-2204-arm]
strategy:
matrix:
include:
- container: ghcr.io/seanavery/viam-cpp-base:0.0.2
TARGET: jetson
- container: ghcr.io/seanavery/viam-cpp-base-pi:0.0.2
TARGET: pi
container:
image: ${{ matrix.container }}
options: --platform linux/arm64
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Clean build artifacts
run: make clean
- name: Install module dependencies
run: make dep
- name: Build viam-csi binary
run: make build
- name: Build viam-csi appimage
run: make package
- name: Copy binary and appimage to bin folder
run: make bin
- name: Run appimage in freshinstance
run: |
make image-test
make test-package