diff --git a/.github/workflows/workflow.yaml b/.github/workflows/workflow.yaml index 48698437..ae219bbd 100644 --- a/.github/workflows/workflow.yaml +++ b/.github/workflows/workflow.yaml @@ -115,3 +115,18 @@ jobs: generate_release_notes: true files: | artifacts/** + + reccmp: + name: Verify decomp + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + submodules: recursive + - uses: dethrace-labs/reccmp-action@main + with: + cmake_flags: -G Ninja -DCMAKE_BUILD_TYPE=Debug -DMSVC_42_FOR_RECCMP=on + target: CARM95 + report_filename: reccmp/report.json + original_binary_url: https://archive.org/download/carm-95/CARM95.EXE + original_binary_filename: CARM95.EXE diff --git a/reccmp/README.md b/reccmp/README.md index 7426e249..6bf2dd9d 100644 --- a/reccmp/README.md +++ b/reccmp/README.md @@ -32,13 +32,13 @@ docker run --platform linux/amd64 \ -e CMAKE_FLAGS="-G Ninja -DCMAKE_BUILD_TYPE=Debug -DMSVC_42_FOR_RECCMP=on" \ -v :/source \ -v :/build \ - -v :/orginal:ro \ + -v :/original:ro \ msvc420-wine -- \ - reccmp-reccmp --target CARM95 --silent --html reccmp-report.html --json /source/reccmp/report.json + reccmp-reccmp --target CARM95 --silent --html report.html --json /source/reccmp/report.json ``` -After running, a `reccmp-report.html` file will be created in the build-msvc420 directory. +After running, a `report.html` file will be created in the build-msvc420 directory. ### Make a pull request change -The pull request will fail if the `reccmp/report.json` file is different from the version generated during build +The pull request will fail if the `reccmp/report.json` file is different from the version generated during build.