Skip to content

Merge pull request #67 from MokhaLeee/main #63

Merge pull request #67 from MokhaLeee/main

Merge pull request #67 from MokhaLeee/main #63

Workflow file for this run

name: Pull progress
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build_stats:
name: Progress
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Dependencies
run: |
sudo apt update
sudo apt install -y build-essential gcc-arm-none-eabi binutils-arm-none-eabi libpng-dev
python3 -m pip install --upgrade pip
pip install requests argparse
- name: Build tools
run: ./build_tools.sh
- name: Install agbcc
run: tools/install_agbcc.sh
- name: Generate dummy base ROM
run: head -c 8M /dev/urandom > fe6-base.gba
- name: Build target ROM
run: make -j fe6.gba
- name: Build stats
run: tools/stats/calcstats.sh fe6.elf fe6.map > stats.txt
- name: Upload stats
run: python tools/stats/upload_stats.py -b https://progress.deco.mp -a ${{secrets.FROGRESS_API_KEY}} -p fireemblem6 -v jp stats.txt