Skip to content

Commit 214bf92

Browse files
committed
gbstudio build also
1 parent 12368ab commit 214bf92

1 file changed

Lines changed: 32 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,38 @@ jobs:
126126
run: mkdir -p out
127127

128128
- name: cmake
129-
run: emcmake cmake -S . -B out -G Ninja -DCMAKE_BUILD_TYPE=Release -DWERROR=ON -DWASM=true -DRGBDS_LIVE=ONs
129+
run: emcmake cmake -S . -B out -G Ninja -DCMAKE_BUILD_TYPE=Release -DWERROR=ON -DWASM=true -DRGBDS_LIVE=ONs -DCMAKE_C_FLAGS="-DBREAKPOINTS_MAX_BANKS_NUMBER=256"
130+
131+
- name: build
132+
run: emmake cmake --build out
133+
134+
build-gbstudio:
135+
name: build-gbstudio
136+
runs-on: ubuntu-latest
137+
steps:
138+
- uses: actions/checkout@v4
139+
with:
140+
submodules: true
141+
142+
- name: install packages
143+
run: sudo apt-get install ninja-build
144+
145+
- name: setup cache
146+
uses: actions/cache@v4
147+
with:
148+
path: ${{env.EM_CACHE_FOLDER}}
149+
key: ${{env.EM_VERSION}}-${{ runner.os }}
150+
- name: emsdk install
151+
uses: mymindstorm/setup-emsdk@v14
152+
with:
153+
version: ${{env.EM_VERSION}}
154+
actions-cache-folder: ${{env.EM_CACHE_FOLDER}}
155+
156+
- name: mkdir
157+
run: mkdir -p out
158+
159+
- name: cmake
160+
run: emcmake cmake -S . -B out -G Ninja -DCMAKE_BUILD_TYPE=Release -DWERROR=ON -DWASM=true -DGBSTUDIO=ON
130161

131162
- name: build
132163
run: emmake cmake --build out

0 commit comments

Comments
 (0)