wrap more things in #if defined(EMSCRIPTEN) #11
Workflow file for this run
This file contains 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 Emscripten | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- emscripten-new | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout repository | |
uses: actions/checkout@v3 | |
- uses: mymindstorm/setup-emsdk@v13 | |
- name: Prepare web data | |
run: ./build-scripts/prepare-web-data.sh | |
- name: Build with emcc (emscripten) | |
run: ./build-scripts/build-emscripten.sh | |
- name: Assemble web bundle | |
run: | | |
./build-scripts/prepare-web.sh | |
- name: Upload bundle | |
uses: actions/upload-artifact@v4 | |
with: | |
name: play-cdda | |
path: build/* |