GHA: Add web build to GDExtension workflow

This commit is contained in:
Serhii Snitsaruk 2024-02-14 20:33:52 +01:00
parent a60280ccfb
commit 58ff47d688
1 changed files with 10 additions and 4 deletions

View File

@ -85,8 +85,15 @@ jobs:
arch: universal
should-build: true
- name: 🌐 Web (wasm32, release)
runner: ubuntu-20.04
platform: web
target: template_release
arch: wasm32
should-build: true
exclude:
- { opts: {should-build: false }}
- { opts: { should-build: false } }
env:
BIN: liblimboai.${{matrix.opts.platform}}.${{matrix.opts.target}}.${{matrix.opts.arch}}
@ -134,8 +141,8 @@ jobs:
if: matrix.opts.platform == 'windows' || matrix.opts.platform == 'macos'
uses: actions/setup-python@v4
with:
python-version: '3.x'
architecture: 'x64'
python-version: "3.x"
architecture: "x64"
- name: Set up scons
if: matrix.opts.platform == 'windows' || matrix.opts.platform == 'macos'
@ -168,7 +175,6 @@ jobs:
echo "---"
ls -l -R ./demo/
- name: Compilation
shell: bash
env: