@@ -184,20 +184,6 @@ jobs:
184184 pip install --upgrade platformio
185185 pio pkg install --environment dummy
186186
187- # - name: Install STM32CubeWL
188- # uses: actions/checkout@v4
189- # with:
190- # repository: STMicroelectronics/STM32CubeWL
191- # path: temp/framework-stm32cubewl
192- # submodules: true
193-
194- # - name: Add stm32wle to PlatformIO platforms
195- # run: |
196- # cp -f .github/workflows/platform.json /home/runner/.platformio/platforms/ststm32/platform.json
197- # cp -r temp/framework-stm32cubewl /home/runner/.platformio/packages/framework-stm32cubewl
198- # cp -f .github/workflows/package.json /home/runner/.platformio/packages/framework-stm32cubewl/package.json
199- # cp /home/runner/.platformio/packages/framework-stm32cubewl/Utilities/misc/stm32_systime_if_template.h /home/runner/.platformio/packages/framework-stm32cubewl/Utilities/misc/stm32_systime_if.h
200-
201187 - name : Check PlatformIO
202188 run : |
203189 pio system info
@@ -218,52 +204,7 @@ jobs:
218204 run : |
219205 pio run -t compiledb
220206
207+ # cloud build is currently not working...
221208 # - name: Build
222209 # run: |
223210 # pio run -e production
224-
225- - name : Collect coverage into XML report
226- run : |
227- gcovr --sonarqube --gcov-ignore-parse-errors > coverage.xml
228-
229- - name : Run sonar-scanner
230- env :
231- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
232- SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
233- run : |
234- sonar-scanner \
235- --define sonar.projectKey=Strooom_BME688-ML-v1-SW \
236- --define sonar.organization=strooom \
237- --define sonar.coverageReportPaths=coverage.xml
238-
239- # - name: Attach Binary to Workflow run
240- # id: attachbinarytoworkflowrun
241- # uses: actions/upload-artifact@v4
242- # with:
243- # name: ${{ steps.selectversion.outputs.buildversionfilename }}.bin
244- # path: .pio/build/production/firmware.bin
245- # if-no-files-found: error
246-
247- # - name: Release when on main branch
248- # id: createrelease
249- # uses: actions/create-release@v1
250- # if: ${{ steps.versioninfo.outputs.branchname == 'main'}}
251- # env:
252- # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
253- # with:
254- # tag_name: ${{ steps.selectversion.outputs.buildversion }}
255- # release_name: Release ${{ steps.selectversion.outputs.buildversion }}
256- # draft: false
257- # prerelease: false
258-
259- # - name: Attach Binary to Release
260- # id: attachbinarytorelease
261- # uses: actions/upload-release-asset@v1
262- # if: ${{ steps.versioninfo.outputs.branchname == 'main'}}
263- # env:
264- # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
265- # with:
266- # upload_url: ${{ steps.createrelease.outputs.upload_url }}
267- # asset_path: .pio/build/production/firmware.bin
268- # asset_name: ${{ steps.selectversion.outputs.buildversionfilename }}.bin
269- # asset_content_type: application/octet-stream
0 commit comments