Skip to content

feat: shore foes — snakes, skeletons, the pistol (S3) #33

feat: shore foes — snakes, skeletons, the pistol (S3)

feat: shore foes — snakes, skeletons, the pistol (S3) #33

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install RGBDS v1.0.3
run: |
mkdir -p rgbds-bin
curl -sL https://github.com/gbdev/rgbds/releases/download/v1.0.3/rgbds-linux-x86_64.tar.xz | tar -xJ -C rgbds-bin
echo "RGBDS_DIR=$PWD/rgbds-bin/" >> "$GITHUB_ENV"
- name: Install Python deps
run: python3 -m pip install numpy pyboy
- name: Build ROM
run: make RGBDS="$RGBDS_DIR"
- name: Run test suite
run: make check
- name: Combat balance harness
run: python tests/tune_balance.py
- name: Upload ROM artifact
uses: actions/upload-artifact@v4
with:
name: pirates_folly.gb
path: pirates_folly.gb
retention-days: 14
- name: Update rolling release
if: github.event_name == 'push'
uses: softprops/action-gh-release@v2
with:
tag_name: latest
name: Latest build
body: |
Rolling release, rebuilt on every push to `main`.
Download `pirates_folly.gb` and open it in any Game Boy emulator.
files: pirates_folly.gb
prerelease: true
# Build against the latest RGBDS release to catch toolchain drift early.
# Advisory only: never blocks the pinned build.
build-latest-rgbds:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@v4
- name: Install latest RGBDS
run: |
mkdir -p rgbds-bin
curl -sL https://github.com/gbdev/rgbds/releases/latest/download/rgbds-linux-x86_64.tar.xz | tar -xJ -C rgbds-bin
- name: Install Python deps
run: python3 -m pip install numpy
- name: Build ROM with latest RGBDS
run: make clean && make RGBDS="$PWD/rgbds-bin/"