Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

Commit

Permalink
upload graph
Browse files Browse the repository at this point in the history
  • Loading branch information
ericLemanissier committed Feb 21, 2024
1 parent 28d9153 commit b94f73b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ jobs:
shell: bash

- name: conan create
id: conan_create
shell: bash
env:
CONAN_SYSREQUIRES_MODE: enabled
Expand Down Expand Up @@ -150,12 +151,22 @@ jobs:
if grep -Fq "conan graph explain" conan_output; then
conan graph explain $conan_command
fi
if grep -Fq "conan graph info" conan_output; then
conan graph info $conan_command --format=html >graph.html
fi
echo "| ${{ matrix.os }} | ${{ matrix.shared }} | $cpp_std | ${{ matrix.version }} | $ICON |" >> $GITHUB_STEP_SUMMARY
if [ $code -ne 6 ]; then
exit "$code"
fi
done
exit 0
- uses: actions/upload-artifact@v4
if: ${{ failure() && steps.conan_create.conclusion == 'failure' }}
with:
name: graph_${{ needs.find_modified_package.outputs.package_name }}_${{ matrix.version }}_${{ matrix.shared }}_${{ matrix.os }}
path: graph.html
if-no-files-found: ignore

Post_Result:
name: Post results
Expand Down

0 comments on commit b94f73b

Please sign in to comment.