Add a GitHub Workflow to validate JS bindings
This commit is contained in:
22
.github/actions/install-emsdk/action.yml
vendored
Normal file
22
.github/actions/install-emsdk/action.yml
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
name: Install emsdk (including emcc)
|
||||
inputs:
|
||||
version:
|
||||
description: EMCC Version to install
|
||||
required: false
|
||||
default: 3.1.28
|
||||
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- name: Clone emsdk repo
|
||||
working-directory: ${{ runner.temp }}
|
||||
shell: bash
|
||||
run: git clone https://github.com/emscripten-core/emsdk.git
|
||||
|
||||
- name: emdsk install
|
||||
working-directory: ${{ runner.temp }}/emsdk
|
||||
shell: bash
|
||||
run: |
|
||||
./emsdk install ${{ inputs.version }}
|
||||
./emsdk activate ${{ inputs.version }}
|
||||
source $RUNNER_TEMP/emsdk/emsdk_env.sh
|
Reference in New Issue
Block a user