forked from viam-modules/viam-camera-realsense
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (34 loc) · 1012 Bytes
/
Copy pathtest.yml
File metadata and controls
41 lines (34 loc) · 1012 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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
- os: macos-latest
container: null
runs-on: ${{ matrix.os }}
container: ${{ matrix.container }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install dependencies (macOS)
if: matrix.os == 'macos-latest'
run: |
make setup
./bin/build_librealsense_macos.sh
- name: Run the tests
run: make test-native