forked from Sensing-Dev/sensing-dev-installer
-
Notifications
You must be signed in to change notification settings - Fork 0
53 lines (37 loc) · 1.34 KB
/
develop-linux.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
name: Linux Sensing dev installer Test
on:
push:
branches-ignore:
- main # This will run the build and test jobs for every push on all branches except for dev to main
pull_request:
branches: [ release/v24.05 ]
### modify here for update #####################################################
env:
SDK_VERSION: v24.05.11
################################################################################
jobs:
test:
runs-on: ubuntu-latest
env:
LD_LIBRARY_PATH: /opt/sensing-dev/lib:/opt/sensing-dev/lib/x86_64-linux-gnu
steps:
- name: Checkout repository
uses: actions/[email protected]
with:
submodules: recursive
- name: Make the script files executable
run: |
chmod +x ${GITHUB_WORKSPACE}/installer/tools/setup.sh
- name: Run the script to install
run: |
sudo bash ${GITHUB_WORKSPACE}/installer/tools/setup.sh --develop-test --version ${{ env.SDK_VERSION}}
- name: Check if /opt/sensing-dev exists
id: check_files
uses: andstor/file-existence-action@v3
with:
files: /opt/sensing-dev
fail: true
- name: Test Environment variable for Aravis
run: |
/opt/sensing-dev/bin/arv-tool-0.8
# Todo: adding the test to check OpenCV, ion-kit, Aravis, GOjbect