pygbag_build #1
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: pygbag_build | |
on: [workflow_dispatch] | |
jobs: | |
build-pygbag: | |
name: Build for Emscripten | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Checkout | |
run: | | |
python3 -m pip install --user --upgrade git+https://github.com/pygame-web/pygbag | |
python3 -m pygbag --git --PYBUILD 3.12 --ume_block 0 --template noctx.tmpl --build $GITHUB_WORKSPACE/example1/main.py | |
- name : "Upload to GitHub pages" | |
uses: JamesIves/github-pages-deploy-action@4.1.7 | |
with: | |
branch: gh-pages | |
folder: example1/build/web |