3737
3838 strategy :
3939 matrix :
40- os : [ubuntu-latest, windows-latest, macos-latest]
40+ os : [ ubuntu-latest, windows-latest, macos-latest ]
4141 include :
4242 - os : ubuntu-latest
4343 pv_recorder_platform : " linux"
6262
6363 strategy :
6464 matrix :
65- machine : [rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64, pv-windows-arm64]
65+ machine : [ rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64, pv-windows-arm64 ]
6666 include :
6767 - machine : rpi3-32
6868 make_file : " Unix Makefiles"
9999
100100 strategy :
101101 matrix :
102- os : [ubuntu-latest, windows-latest, macos-latest]
102+ device : [ cpu, cpu:1 ]
103+ os : [ ubuntu-latest, windows-latest, macos-latest ]
103104 include :
104105 - os : ubuntu-latest
105106 platform : linux
@@ -131,14 +132,15 @@ jobs:
131132 run : cmake --build ./build --target koala_demo_file
132133
133134 - name : Test
134- run : python test/test_koala_c.py ${{secrets.PV_VALID_ACCESS_KEY}} ${{ matrix.platform }} ${{ matrix.arch }}
135+ run : python test/test_koala_c.py ${{secrets.PV_VALID_ACCESS_KEY}} ${{ matrix.device }} ${{ matrix. platform }} ${{ matrix.arch }}
135136
136137 build-filedemo-self-hosted :
137138 runs-on : ${{ matrix.machine }}
138139
139140 strategy :
140141 matrix :
141- machine : [rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64]
142+ device : [ best ]
143+ machine : [ rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64, pv-windows-arm64 ]
142144 include :
143145 - machine : rpi3-32
144146 platform : raspberry-pi
@@ -170,6 +172,24 @@ jobs:
170172 arch : arm64
171173 make_file : " MinGW Makefiles"
172174 pv_recorder_platform : " windows-arm64"
175+ - device : gpu
176+ machine : pv-linux
177+ platform : linux
178+ arch : x86_64
179+ make_file : " Unix Makefiles"
180+ pv_recorder_platform : " linux"
181+ - device : gpu
182+ machine : pv-windows
183+ platform : windows
184+ arch : amd64
185+ make_file : " MinGW Makefiles"
186+ pv_recorder_platform : " windows-amd64"
187+ - device : gpu
188+ machine : pv-ios
189+ platform : mac
190+ arch : arm64
191+ make_file : " Unix Makefiles"
192+ pv_recorder_platform : " mac-arm64"
173193
174194 steps :
175195 - uses : actions/checkout@v3
@@ -183,4 +203,4 @@ jobs:
183203 run : cmake --build ./build --target koala_demo_file
184204
185205 - name : Test
186- run : python test/test_koala_c.py ${{secrets.PV_VALID_ACCESS_KEY}} ${{ matrix.platform }} ${{ matrix.arch }}
206+ run : python3 test/test_koala_c.py ${{secrets.PV_VALID_ACCESS_KEY}} ${{ matrix.device }} ${{ matrix.platform }} ${{ matrix.arch }}
0 commit comments