From 4ddba04604ee7b4c4cfc0b64f8ee4d094bb385be Mon Sep 17 00:00:00 2001 From: Anghelo Carvajal Date: Sun, 16 Aug 2026 13:56:24 -0400 Subject: Generate decomp.dev progress reports (#249) * Generate decomp.dev progress reports - Wire up CI to generate decomp.dev progress reports (using the objdiff report format) and upload them as GHA artifacts, by using `mapfile_parser`. - This also adds a `decomp.yaml` file, which is used by `mapfile_parser` to generate the objdiff reports. - The `progress.py` script used to locally visualize the current progress has been updated to parse objdiff reports too. - `mapfile_parser` 2.13.0 or above is now required. - Delete the old `upload_frogress.py` script. Once we have this we can create an af entry in [decomp.dev](https://decomp.dev/). I'll talk with Encounter to migrate the old frogress progress into decomp.dev too * Activate venv --- .github/workflows/ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to '.github/workflows') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a0f9eab..b38857b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -86,6 +86,17 @@ jobs: if: failure() && steps.build.outcome == 'failure' run: cat tools/warnings_count/warnings_setup_new.txt tools/warnings_count/warnings_assets_new.txt tools/warnings_count/warnings_disasm_new.txt tools/warnings_count/warnings_build_new.txt tools/warnings_count/warnings_compress_new.txt + - name: Generate objdiff report + run: | + . .venv/bin/activate + python3 -m mapfile_parser objdiff_report report.json --version ${{ matrix.version }} + + - name: Upload progress report artifact + uses: actions/upload-artifact@v7 + with: + name: ${{ matrix.version }}_report + path: report.json + - name: Upload map uses: actions/upload-artifact@v7 with: -- cgit v1.2.3