Skip to content

Commit b595d62

Browse files
committed
emscripten: Add GitHub CI.
1 parent 7dad36e commit b595d62

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/main.yml

+18
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,24 @@ jobs:
258258
- name: Package Wii U .zip
259259
run: make archive
260260

261+
Emscripten-HTML5:
262+
runs-on: ubuntu-latest
263+
steps:
264+
- name: Install dependencies
265+
run: sudo apt update && sudo apt install -y --no-install-recommends $MZXDEPS_DEBIAN_CROSS
266+
- name: Install Emscripten
267+
uses: mymindstorm/setup-emsdk@v14
268+
with:
269+
version: 3.1.56
270+
actions-cache-folder: 'emsdk-cache'
271+
- uses: actions/checkout@v3
272+
- name: Configure HTML5
273+
run: arch/emscripten/CONFIG.HTML5
274+
- name: Build HTML5
275+
run: $MZX_MAKE && make build
276+
- name: Package HTML5 .zip
277+
run: make archive
278+
261279
#
262280
# Sanitizers.
263281
#

0 commit comments

Comments
 (0)