Skip to content

Commit

Permalink
Fix emscripten install
Browse files Browse the repository at this point in the history
  • Loading branch information
Trey2k committed Oct 15, 2023
1 parent da4ac41 commit b797852
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/gdextension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -257,16 +257,27 @@ jobs:
${{github.job}}-${{env.BASE_BRANCH}}-${{github.ref}}-${{github.sha}}
${{github.job}}-${{env.BASE_BRANCH}}-${{github.ref}}
${{github.job}}-${{env.BASE_BRANCH}}-${{env.BASE_BRANCH}}
- name: Compile extension
if: matrix.opts.platform != 'javascript'
shell: sh
run: |
PATH=/opt/buildroot/bin:$PATH scons target='${{ matrix.opts.target }}' platform='${{ matrix.opts.platform }}' arch='${{ matrix.opts.arch }}' ${{ matrix.opts.args }}
ls -l project/addons/luaAPI/bin/
- name: Compile extension (Web)
if: matrix.opts.platform == 'javascript'
shell: sh
run: |
scons target='${{ matrix.opts.target }}' platform='${{ matrix.opts.platform }}' arch='${{ matrix.opts.arch }}' ${{ matrix.opts.args }}
ls -l project/addons/luaAPI/bin/
- name: Strip bins
if: "!startsWith(matrix.opts.identifier, 'windows-') && startsWith(matrix.opts.arch, 'x86_')"
shell: sh
run: |
strip project/addons/luaAPI/bin/*
- name: Prepare artifact
shell: sh
env:
Expand Down

0 comments on commit b797852

Please sign in to comment.