Skip to content

Commit

Permalink
Upload native build stats from a single GH runner
Browse files Browse the repository at this point in the history
  • Loading branch information
zakkak committed Aug 26, 2024
1 parent 53831b7 commit 3dbf5ce
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/ci-actions-incremental.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1214,20 +1214,11 @@ jobs:
if: ${{ always() && github.repository == 'quarkusio/quarkus' && endsWith(github.ref, '/main') && github.event_name != 'pull_request' && needs.native-tests.result != 'skipped' && needs.native-tests.result != 'cancelled' }}
needs:
- native-tests
- calculate-test-jobs
strategy:
fail-fast: false
matrix: ${{ fromJson(needs.calculate-test-jobs.outputs.native_matrix) }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
repository: graalvm/mandrel
fetch-depth: 1
path: workflow-quarkus
- uses: actions/download-artifact@v4
with:
name: build-stats-${{matrix.category}}
pattern: build-stats-*
path: .
- name: Extract and import build stats
env:
Expand Down Expand Up @@ -1255,7 +1246,12 @@ jobs:
echo "Fatal error. runner_info_id is not a number: $runner_info_id"
exit 1
fi
tar -xf build-stats.tgz
for directory in ./build-stats-*/; do
echo "Processing $directory"
cd $directory
tar -xvf build-stats.tgz
cd -
done
echo "Tag to be used for uploads: '${TAG}'"
IFS=$'\n'
for bs in $(find ./ -name \*build-output-stats.json); do
Expand Down

0 comments on commit 3dbf5ce

Please sign in to comment.