GHA: Add web build to GDExtension workflow
This commit is contained in:
parent
a60280ccfb
commit
58ff47d688
|
@ -85,8 +85,15 @@ jobs:
|
||||||
arch: universal
|
arch: universal
|
||||||
should-build: true
|
should-build: true
|
||||||
|
|
||||||
|
- name: 🌐 Web (wasm32, release)
|
||||||
|
runner: ubuntu-20.04
|
||||||
|
platform: web
|
||||||
|
target: template_release
|
||||||
|
arch: wasm32
|
||||||
|
should-build: true
|
||||||
|
|
||||||
exclude:
|
exclude:
|
||||||
- { opts: {should-build: false }}
|
- { opts: { should-build: false } }
|
||||||
|
|
||||||
env:
|
env:
|
||||||
BIN: liblimboai.${{matrix.opts.platform}}.${{matrix.opts.target}}.${{matrix.opts.arch}}
|
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'
|
if: matrix.opts.platform == 'windows' || matrix.opts.platform == 'macos'
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.x'
|
python-version: "3.x"
|
||||||
architecture: 'x64'
|
architecture: "x64"
|
||||||
|
|
||||||
- name: Set up scons
|
- name: Set up scons
|
||||||
if: matrix.opts.platform == 'windows' || matrix.opts.platform == 'macos'
|
if: matrix.opts.platform == 'windows' || matrix.opts.platform == 'macos'
|
||||||
|
@ -168,7 +175,6 @@ jobs:
|
||||||
echo "---"
|
echo "---"
|
||||||
ls -l -R ./demo/
|
ls -l -R ./demo/
|
||||||
|
|
||||||
|
|
||||||
- name: Compilation
|
- name: Compilation
|
||||||
shell: bash
|
shell: bash
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Reference in New Issue