Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
encounter committed Sep 4, 2024
1 parent 684828f commit 31d1166
Showing 1 changed file with 7 additions and 13 deletions.
20 changes: 7 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,19 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
- name: Git config
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-beta.4 objdiff-cli objdiff-cli
- name: Build
run: |
python configure.py --version ${{matrix.version}} --compilers /compilers --warn error
ninja
python configure.py --version ${{matrix.version}} --compilers /compilers --warn off
ninja all_source
ninja all_source build/${{ matrix.version }}/progress.json build/${{ matrix.version }}/report.json
- name: Upload progress
if: github.ref == 'refs/heads/main'
continue-on-error: true
Expand All @@ -43,16 +42,11 @@ 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'
- name: Upload report
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.version }}-report-${{ github.sha }}
path: report.json
name: ${{ matrix.version }}_report
path: build/${{ matrix.version }}/report.json

website:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 31d1166

Please sign in to comment.