mirror of
https://github.com/izzy2lost/Diddy-Kong-Racing.git
synced 2026-06-19 01:16:26 -07:00
Update workflows to be more explicit in their steps so it's easier to see the progress and debug
This commit is contained in:
@@ -20,10 +20,32 @@ jobs:
|
||||
- name: Install packages
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y build-essential pkg-config git python3 libssl-dev wget libcapstone-dev
|
||||
sudo apt-get install -y build-essential pkg-config git python3 libssl-dev wget libcapstone-dev binutils-mips-linux-gnu
|
||||
|
||||
- name: Get ROM
|
||||
run: wget -q -O baseroms/dkr.z64 ${{secrets.ROMURL}}
|
||||
|
||||
- name: Verify ROM
|
||||
run: if [[ $(echo "0cb115d8716dbbc2922fda38e533b9fe63bb9670 baseroms/dkr.z64" | sha1sum -c --quiet -) = "" ]]; then echo "Signature OK"; else echo "Failed"; exit 1; fi
|
||||
|
||||
- name: Build Recomp
|
||||
run: |
|
||||
cd tools/ido-static-recomp/
|
||||
python3 build.py ido/5.3 -O2
|
||||
cp build5.3/out/usr/bin/cc build5.3/out/cc
|
||||
cp build5.3/out/usr/lib/* build5.3/out/
|
||||
cd ../../
|
||||
|
||||
- name: Build Tools
|
||||
run: |
|
||||
cd tools
|
||||
make
|
||||
cd ..
|
||||
|
||||
- name: Extract Assets
|
||||
run: |
|
||||
./extract.sh
|
||||
python3 tools/python/check_if_need_to_extract.py us_1.0
|
||||
|
||||
- name: Build ROM
|
||||
run: make
|
||||
|
||||
@@ -16,17 +16,39 @@ jobs:
|
||||
submodules: recursive
|
||||
ref: ${{ github.event.pull_request.head.ref }}
|
||||
repository: ${{ github.event.pull_request.head.repo.full_name }}
|
||||
|
||||
|
||||
- name: Install packages
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y build-essential pkg-config git python3 libssl-dev wget libcapstone-dev
|
||||
|
||||
sudo apt-get install -y build-essential pkg-config git python3 libssl-dev wget libcapstone-dev binutils-mips-linux-gnu
|
||||
|
||||
- name: Get ROM
|
||||
run: wget -q -O baseroms/dkr.z64 ${{secrets.ROMURL}}
|
||||
|
||||
|
||||
- name: Verify ROM
|
||||
run: if [[ $(echo "0cb115d8716dbbc2922fda38e533b9fe63bb9670 baseroms/dkr.z64" | sha1sum -c --quiet -) = "" ]]; then echo "Signature OK"; else echo "Failed"; exit 1; fi
|
||||
|
||||
- name: Build Recomp
|
||||
run: |
|
||||
cd tools/ido-static-recomp/
|
||||
python3 build.py ido/5.3 -O2
|
||||
cp build5.3/out/usr/bin/cc build5.3/out/cc
|
||||
cp build5.3/out/usr/lib/* build5.3/out/
|
||||
cd ../../
|
||||
|
||||
- name: Build Tools
|
||||
run: |
|
||||
cd tools
|
||||
make
|
||||
cd ..
|
||||
|
||||
- name: Extract Assets
|
||||
run: |
|
||||
./extract.sh
|
||||
python3 tools/python/check_if_need_to_extract.py us_1.0
|
||||
|
||||
- name: Build ROM
|
||||
run: make
|
||||
|
||||
|
||||
- name: Verify Build
|
||||
run: if [[ $(sha1sum -c --quiet sha1/dkr.us_1.0.sha1) = "" ]]; then echo "Signature OK"; else echo "Failed"; exit 1; fi
|
||||
|
||||
Reference in New Issue
Block a user