-
Notifications
You must be signed in to change notification settings - Fork 14
50 lines (50 loc) · 2.17 KB
/
docker-test.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
name: docker-test
on: [push, pull_request]
jobs:
test-gamutrf-extra-images:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: docker build
run: |
cd docker
docker build -f Dockerfile.airspyfm . -t iqtlabs/gamutrf-airspyfm:latest
test-gamutrf-mavlink-api:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: docker build
run: |
docker build -f utils/mavlink-api/Dockerfile.mavlink-api utils/mavlink-api -t iqtlabs/gamutrf-mavlink-api:latest
test-gamutrf-waterfall-images:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: docker build
run: |
docker build -f docker/Dockerfile.waterfall . -t iqtlabs/gamutrf-waterfall:latest
docker run -t iqtlabs/gamutrf-waterfall:latest gamutrf-waterfall --help
test-gamutrf-images:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: docker build
run: |
docker build -f docker/Dockerfile.vkfft . -t iqtlabs/gamutrf-vkfft:latest
docker build -f docker/Dockerfile.sigmf docker -t iqtlabs/gamutrf-sigmf:latest
docker build -f docker/Dockerfile.driver docker -t iqtlabs/gamutrf-driver:latest
docker build -f docker/Dockerfile.uhd-sr docker -t iqtlabs/gamutrf-uhd-sr:latest
docker build -f docker/Dockerfile.base docker -t iqtlabs/gamutrf-base:latest
docker rmi -f iqtlabs/gamutrf-vkfft:latest iqtlabs/gamutrf-driver:latest iqtlabs/gamutrf-uhd-sr:latest
docker build -f Dockerfile . -t iqtlabs/gamutrf:latest
docker build -f docker/Dockerfile.torchsig . -t iqtlabs/gamutrf-torchsig:latest
docker run -t iqtlabs/gamutrf:latest gamutrf-compress_dirs --help
docker run -t iqtlabs/gamutrf:latest gamutrf-offline --help
docker run -t iqtlabs/gamutrf:latest gamutrf-scan --help
docker run -t iqtlabs/gamutrf:latest gamutrf-worker --help
- name: offline consistency
# VkFFT is more consistent, but still not perfectly consistent.
run: |
sudo apt-get -yq update && sudo apt-get -yq install python3-numpy
tests/test_offline.sh
tests/test_offline_consistent.sh || true