Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,21 @@ jobs:
- name: Prepare
run: cp -R /orig .

# Checkout the commit to generate OK bot report used for website build
- name: Checkout previous report repo state
if: ${{ github.event_name == 'push' }}
run: |
git checkout HEAD^

# Checkout the commit to generate CI progress report for PR comment report
- name: Checkout previous report repo state
if: ${{ github.event_name == 'pull_request_target' }}
run: |
git checkout main

# Generate report for previous repo state
- name: Generate previous report
continue-on-error: true
run: |
git checkout main
python configure.py --version ${{ matrix.version }} \
--binutils /binutils --compilers /compilers
ninja build/${{ matrix.version }}/report.json
Expand Down