diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2024-07-17 18:51:10 -0400 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2024-07-17 18:51:10 -0400 |
| commit | be019d1db94ad81b91de3ac9194cc8da346736e3 (patch) | |
| tree | a731a552000d61678913b09beba14a896701ff22 /.github | |
| parent | 0fd59057794ab7c6fd3c4b77cf96ca8187883f25 (diff) | |
CI: Generate objdiff progress reports and upload as artifacts
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/build.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 77f19949..f0ea8623 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,6 +19,10 @@ jobs: run: git config --global --add safe.directory "$GITHUB_WORKSPACE" - name: Prepare run: cp -R /orig/${{matrix.version}} orig + - name: Download objdiff CLI + if: github.ref == 'refs/heads/main' + run: | + python tools/download_tool.py --tag v2.0.0-alpha.5 objdiff-cli objdiff-cli - name: Build run: | python configure.py --version ${{matrix.version}} --compilers /compilers --warn error @@ -33,3 +37,13 @@ jobs: run: | python tools/upload_progress.py -b https://progress.decomp.club/ -p tww -v ${{matrix.version}} \ build/${{matrix.version}}/progress.json + - name: Generate objdiff progress report + if: github.ref == 'refs/heads/main' + run: | + ./objdiff-cli report generate -o report.json + - name: Save objdiff progress report artifact + if: github.ref == 'refs/heads/main' + uses: actions/upload-artifact@v4 + with: + name: ${{ matrix.version }}-report-${{ github.sha }} + path: report.json |
