Adds title screen section to tutorial #6
Workflow file for this run
This file contains hidden or 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: Build Unbricked example code | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Download and extract RGBDS v1.0.0 | |
| shell: bash | |
| run: | | |
| set -euo pipefail | |
| RGBDS_URL="https://github.com/gbdev/rgbds/releases/download/v1.0.0/rgbds-linux-x86_64.tar.xz" | |
| DEST_DIR="$RUNNER_TEMP/rgbds" | |
| mkdir -p "$DEST_DIR" | |
| curl -L --fail --retry 3 -o "$RUNNER_TEMP/rgbds.tar.xz" "$RGBDS_URL" | |
| tar -xJf "$RUNNER_TEMP/rgbds.tar.xz" -C "$DEST_DIR" | |
| # Add extracted folder to PATH for later steps | |
| echo "$DEST_DIR" >> "$GITHUB_PATH" | |
| - name: Run build script | |
| shell: bash | |
| run: | | |
| set -euo pipefail | |
| cd unbricked | |
| chmod +x ./build_all.sh | |
| ./build_all.sh |