Skip to content

Adding Service Account for Workload Identity #167

Adding Service Account for Workload Identity

Adding Service Account for Workload Identity #167

Workflow file for this run

name: Test
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
on: pull_request
jobs:
run-tests:
name: Run Tests
timeout-minutes: 10
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: buildjet-8vcpu-ubuntu-2204-arm
container:
image: ghcr.io/viam-modules/viam-camera-realsense:arm64
options: --platform linux/arm64
- os: ubuntu-latest
container:
image: ghcr.io/viam-modules/viam-camera-realsense:amd64
options: --platform linux/amd64
container: ${{ matrix.container }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Create build directory
run: mkdir build
- name: Configure CMake
working-directory: build
run: cmake -G Ninja ..
- name: Build the binary
working-directory: build
run: ninja all -j 4
- name: Run the tests
working-directory: build
run: ctest