From 58ff47d6885ae22256afdd033537536a9a50f5a1 Mon Sep 17 00:00:00 2001 From: Serhii Snitsaruk Date: Wed, 14 Feb 2024 20:33:52 +0100 Subject: [PATCH] GHA: Add web build to GDExtension workflow --- .github/workflows/gdextension.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/gdextension.yml b/.github/workflows/gdextension.yml index 91b7ed9..cf455dd 100644 --- a/.github/workflows/gdextension.yml +++ b/.github/workflows/gdextension.yml @@ -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: