bank02: start disassembling sound engine copy #39
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [ progress ] | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout disasm | |
uses: actions/checkout@master | |
- name: Checkout rgbds | |
uses: actions/checkout@master | |
with: | |
path: rgbds | |
ref: v0.8.0 | |
repository: gbdev/rgbds | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y bison python3-pil | |
- name: Install rgbds | |
working-directory: rgbds | |
run: | | |
sudo make install | |
rm -rf rgbds | |
- name: Cache baserom | |
id: cache-baserom | |
uses: actions/cache@master | |
with: | |
path: baserom.gbc | |
key: ${{ runner.os }}-baserom | |
- name: Get baserom | |
if: steps.cache-baserom.outputs.cache-hit != 'true' | |
run: | | |
sudo apt install unzip wget | |
wget -O skxs.zip 'https://hhug.me/uploads/dumps/Shi%20Kong%20Xing%20Shou%20(Unlicensed,%20Chinese)%20(Multicart%20Rip)%20[Header%20Fix].zip' | |
unzip skxs.zip | |
mv 'Shi Kong Xing Shou (Unlicensed, Chinese) (Multicart Rip) [Header Fix].gbc' baserom.gbc | |
rm -f skxs.zip | |
- name: Build | |
run: | | |
make | |
python3 .github/ok/ok.py | |
- name: Run webhook | |
if: ${{ github.event_name == 'push' && ( ( github.repository_owner == 'ZoomTen' ) || ( github.repository_owner == 'libjet' ) ) }} | |
env: | |
CI_DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }} | |
run: python3 .github/ok/webhook.py $CI_DISCORD_WEBHOOK | |
- name: Update progress site | |
if: ${{ github.event_name == 'push' && ( ( github.repository_owner == 'ZoomTen' ) || ( github.repository_owner == 'libjet' ) ) }} | |
env: | |
CI_GITHUB_TOKEN: ${{ secrets.UPDATE_SITE_TOKEN }} | |
run: | | |
git clone https://github.com/ZoomTen/skxs-disasm-website | |
# update data in repo | |
python3 .github/ok/add_current_info.py skxs-disasm-website/src/update.json | |
# go into repo and update it | |
cd skxs-disasm-website | |
git config user.name "GitHub Actions" | |
git config user.email "41898282+github-actions[bot]@users.noreply.github.com" | |
git remote set-url origin https://github-actions:[email protected]/ZoomTen/skxs-disasm-website.git | |
git add src/update.json | |
git commit -m "[AUTO] Update progress JSON" | |
git push origin master | |