File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,6 +9,14 @@ pipeline {
99 }
1010 }
1111 stage(' Test HackRF One' ) {
12+ matrix {
13+ axes {
14+ axis {
15+ name ' BOARD'
16+ values ' HACKRF_ONE' , ' UNIVERSAL'
17+ }
18+ }
19+ }
1220 agent {
1321 docker {
1422 image ' hackrf'
@@ -20,7 +28,7 @@ pipeline {
2028 }
2129 steps {
2230 sh ' ./ci-scripts/install_host.sh'
23- sh ' ./ci-scripts/build_h1_firmware.sh'
31+ sh ' ./ci-scripts/build_h1_firmware.sh ${BOARD} '
2432 script {
2533 try {
2634 // Allow 20 seconds for the USB hub port power server to respond
@@ -165,6 +173,14 @@ pipeline {
165173 }
166174 }
167175 stage(' Test HackRF Pro' ) {
176+ matrix {
177+ axes {
178+ axis {
179+ name ' BOARD'
180+ values ' PRALINE' , ' UNIVERSAL'
181+ }
182+ }
183+ }
168184 agent {
169185 docker {
170186 image ' hackrf'
@@ -176,7 +192,7 @@ pipeline {
176192 }
177193 steps {
178194 sh ' ./ci-scripts/install_host.sh'
179- sh ' ./ci-scripts/build_hpro_firmware.sh'
195+ sh ' ./ci-scripts/build_hpro_firmware.sh ${BOARD} '
180196 script {
181197 try {
182198 // Allow 20 seconds for the USB hub port power server to respond
Original file line number Diff line number Diff line change @@ -4,6 +4,6 @@ git submodule init
44git submodule update
55cd firmware/hackrf_usb
66rm -rf build
7- cmake -DBOARD=HACKRF_ONE -B build
7+ cmake -DBOARD=$1 -B build
88cmake --build build
99cd ../..
Original file line number Diff line number Diff line change @@ -4,6 +4,6 @@ git submodule init
44git submodule update
55cd firmware/hackrf_usb
66rm -rf build
7- cmake -DBOARD=PRALINE -B build
7+ cmake -DBOARD=$1 -B build
88cmake --build build
99cd ../..
You can’t perform that action at this time.
0 commit comments