-
Notifications
You must be signed in to change notification settings - Fork 6
63 lines (54 loc) · 1.71 KB
/
integration.yml
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
name: Build Integration Tests AppImage
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
# on:
# workflow_dispatch:
# push:
# branches: [ 'main' ]
# paths:
# - 'integration/**'
on:
pull_request:
types: [opened, synchronize, reopened, labeled]
jobs:
appimage:
name: Integration Tests for RealSense
timeout-minutes: 30
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
make_target: integration-appimage-arm64
arch: arm64
- os: ubuntu-latest
container:
image: ghcr.io/viam-modules/viam-camera-realsense:amd64
options: --platform linux/amd64
make_target: integration-appimage-amd64
arch: amd64
container: ${{ matrix.container }}
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Build Integration Tests
run: make ${{ matrix.make_target }}
- id: 'auth'
name: 'Authenticate to Google Cloud'
uses: 'google-github-actions/auth@v1'
with:
create_credentials_file: true
workload_identity_provider: '${{ secrets.GCP_WORKFLOW_IDENTITY_PROVIDER }}'
service_account: '${{ secrets.GCP_SERVICE_ACCOUNT }}'
- name: Upload Files
uses: google-github-actions/[email protected]
with:
headers: "cache-control: no-cache"
path: 'packaging/appimages/deploy/'
destination: 'packages.viam.com/apps/camera-servers/'
glob: '*'
parent: false
gzip: false