You've already forked Diddy-Kong-Racing
mirror of
https://github.com/izzy2lost/Diddy-Kong-Racing.git
synced 2026-03-10 11:36:09 -07:00
* match: func_800159C8 * ci: add timeout of 60 seconds to wget * match: func_800159C8 for version 80 --------- Co-authored-by: Dominik Peters <dominik.peters@committance.com>
50 lines
1.3 KiB
YAML
50 lines
1.3 KiB
YAML
name: Update score
|
|
|
|
on:
|
|
push:
|
|
branches: [master]
|
|
|
|
jobs:
|
|
update-score:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
with:
|
|
submodules: recursive
|
|
|
|
- name: Install packages
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y build-essential libssl-dev pkg-config git python3 python3-pip binutils-mips-linux-gnu python3-venv libpcre2-dev libpcre2-8-0
|
|
|
|
- name: Get ROM
|
|
run: wget -q --timeout=60 -O baseroms/baserom.us.v77.z64 ${{secrets.ROMURL}}
|
|
|
|
- name: Verify ROM
|
|
run: if [[ $(echo "0cb115d8716dbbc2922fda38e533b9fe63bb9670 baseroms/baserom.us.v77.z64" | sha1sum -c --quiet -) = "" ]]; then echo "Signature OK"; else echo "Failed"; exit 1; fi
|
|
|
|
- name: Make Setup
|
|
run: |
|
|
make setup -j4
|
|
|
|
- name: Make Extract
|
|
run: |
|
|
make extract
|
|
|
|
- name: Build ROM
|
|
run: make -j4
|
|
|
|
- name: Verify Build
|
|
run: if [[ $(sha1sum -c --quiet ver/verification/dkr.us.v77.sha1) = "" ]]; then echo "Signature OK"; else echo "Failed"; exit 1; fi
|
|
|
|
- name: Update Score
|
|
run: ./update-score.sh
|
|
|
|
- name: Create Pull Request
|
|
uses: peter-evans/create-pull-request@v4
|
|
with:
|
|
add-paths: README.md
|
|
commit-message: "Update score"
|