Skip to content

Commit

Permalink
re-generate workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
ilg-ul committed Jun 10, 2024
1 parent f466406 commit 01764cb
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/test-xpm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -333,13 +333,25 @@ jobs:
- name: Concatenate platform test reports
run: |
ls -lR ${{ github.workspace }}/artefacts
cat -s ${{ github.workspace }}/artefacts/tests-report-linux-x64.md ${{ github.workspace }}/artefacts/tests-report-linux-arm64.md ${{ github.workspace }}/artefacts/tests-report-linux-arm.md ${{ github.workspace }}/artefacts/tests-report-darwin-x64.md ${{ github.workspace }}/artefacts/tests-report-darwin-arm64.md ${{ github.workspace }}/artefacts/tests-report-win32-x64.md | tee ${{ github.workspace }}/artefacts/tests-report.md
touch ${{ github.workspace }}/artefacts/tests-report.md
echo "---" >>${{ github.workspace }}/artefacts/tests-report.md
echo "title: GCC ${{ github.event.inputs.version }} test results" >>${{ github.workspace }}/artefacts/tests-report.md
echo "permalink: /dev-tools/gcc/tests/${{ github.event.inputs.version }}/" >>${{ github.workspace }}/artefacts/tests-report.md
echo >>${{ github.workspace }}/artefacts/tests-report.md
echo "comments: true" >>${{ github.workspace }}/artefacts/tests-report.md
echo >>${{ github.workspace }}/artefacts/tests-report.md
echo "date: $(date "+%Y-%m-%d %H:%M:%S %z")" >>${{ github.workspace }}/artefacts/tests-report.md
echo >>${{ github.workspace }}/artefacts/tests-report.md
echo "---" >>${{ github.workspace }}/artefacts/tests-report.md
echo >>${{ github.workspace }}/artefacts/tests-report.md
(cd ${{ github.workspace }}; cat -s artefacts/tests-report-linux-x64.md artefacts/tests-report-linux-arm64.md artefacts/tests-report-linux-arm.md artefacts/tests-report-darwin-x64.md artefacts/tests-report-darwin-arm64.md artefacts/tests-report-win32-x64.md | tee -a artefacts/tests-report.md)
mv -v ${{ github.workspace }}/artefacts/tests-report.md ${{ github.workspace }}/artefacts/${{ github.event.inputs.version }}.md
- name: Upload tests report
uses: actions/upload-artifact@v4
with:
name: tests-report
path: ${{ github.workspace }}/artefacts/tests-report.md
path: ${{ github.workspace }}/artefacts/${{ github.event.inputs.version }}.md
overwrite: true

# -----------------------------------------------------------------------------

0 comments on commit 01764cb

Please sign in to comment.