Skip to content

Commit b492b80

Browse files
authored
Merge branch 'gbdev:master' into feature/title-screen
2 parents fc705b9 + d83a59f commit b492b80

File tree

19 files changed

+7580
-1
lines changed

19 files changed

+7580
-1
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Build Unbricked example code
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- name: Checkout
11+
uses: actions/checkout@v4
12+
13+
- name: Download and extract RGBDS v1.0.0
14+
shell: bash
15+
run: |
16+
set -euo pipefail
17+
18+
RGBDS_URL="https://github.com/gbdev/rgbds/releases/download/v1.0.0/rgbds-linux-x86_64.tar.xz"
19+
DEST_DIR="$RUNNER_TEMP/rgbds"
20+
21+
mkdir -p "$DEST_DIR"
22+
curl -L --fail --retry 3 -o "$RUNNER_TEMP/rgbds.tar.xz" "$RGBDS_URL"
23+
tar -xJf "$RUNNER_TEMP/rgbds.tar.xz" -C "$DEST_DIR"
24+
25+
# Add extracted folder to PATH for later steps
26+
echo "$DEST_DIR" >> "$GITHUB_PATH"
27+
28+
- name: Run build script
29+
shell: bash
30+
run: |
31+
set -euo pipefail
32+
cd unbricked
33+
chmod +x ./build_all.sh
34+
./build_all.sh

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,6 @@
55
/galactic-armada/src/generated
66
/galactic-armada/dist/
77
/galactic-armada/obj/
8-
.idea
8+
.idea
9+
*.gb
10+
*.o

unbricked/audio/build.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/sh
2+
3+
rgbasm -o main.o main.asm
4+
rgblink -o unbricked.gb main.o
5+
rgbfix -v -p 0xFF unbricked.gb

unbricked/bcd/build.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/sh
2+
3+
rgbasm -o main.o main.asm
4+
rgblink -o unbricked.gb main.o
5+
rgbfix -v -p 0xFF unbricked.gb

0 commit comments

Comments
 (0)