Skip to content

Commit bf80288

Browse files
JanJan
authored andcommitted
feat: rework worker
1 parent 0009161 commit bf80288

File tree

5 files changed

+17
-49
lines changed

5 files changed

+17
-49
lines changed
Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build and Test viewer on Linux
1+
name: Build and Test viewer on Linux and macOS
22

33
on:
44
push:
@@ -10,26 +10,26 @@ on:
1010

1111
jobs:
1212
build-and-test:
13-
runs-on: ubuntu-latest
13+
runs-on: ${{ matrix.os }}
1414
strategy:
1515
matrix:
16-
container:
17-
- docs/debian:bookworm
18-
- docs/ubuntu:jammy
19-
- docs/ubuntu:latest
16+
os:
17+
- ubuntu-latest
18+
- ubuntu-24.04
19+
- ubuntu-22.04
20+
- macos-latest
21+
- macos-14
22+
- macos-13
2023

2124
steps:
2225
- name: Checkout repository
2326
uses: actions/checkout@v4
2427

25-
- name: Build container
26-
run: |
27-
cd ${{ matrix.container }}
28-
docker build -t test-${{ matrix.container }} -f Containerfile ../
28+
- name: Set execute permissions for install script
29+
run: chmod +x install_depthai.sh
2930

30-
- name: Run container
31-
run: |
32-
docker run --rm test-${{ matrix.container }}
31+
- name: Run installation script
32+
run: ./install_depthai.sh
3333

34-
- name: Check exit status
35-
run: echo "Container ${{ matrix.container }} exited successfully"
34+
- name: Verify installation success
35+
run: echo "Installation script executed successfully"

.github/workflows/test-install-dependencies.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@
66
paths:
77
- 'docs/install_dependencies.sh'
88
- 'examples/install_requirements.py'
9+
- 'docs/install_depthai.sh'
910
pull_request:
1011
paths:
1112
- 'docs/install_dependencies.sh'
1213
- 'examples/install_requirements.py'
14+
- 'docs/install_depthai.sh'
1315

1416
jobs:
1517
test_linux:

docs/debian:bookworm/Containerfile

Lines changed: 0 additions & 11 deletions
This file was deleted.

docs/ubuntu:jammy/Containerfile

Lines changed: 0 additions & 12 deletions
This file was deleted.

docs/ubuntu:latest/Containerfile

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)