message: Update WASI SDK to 12
  This uses LLVM 11 which allows us to test building meshopt_decoder.js as
  well, and upload the resulting binary as an artifact
diff: @@ -99,9 +99,13 @@ jobs:
  curl -sL https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-$VERSION/libclang_rt.builtins-wasm32-wasi-$VERSION.0.tar.gz | tar xz -C wasi-sdk-$VERSION.0
  curl -sL https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-$VERSION/wasi-sysroot-$VERSION.0.tar.gz | tar xz
  env:
  - VERSION: 11
  + VERSION: 12
  - name: build
  - run: make -B WASMCC=wasi-sdk-11.0/bin/clang++ WASI_SDK=./wasi-sysroot gltf/library.wasm
  + run: |
  + make -B WASMCC=wasi-sdk-$VERSION.0/bin/clang++ WASI_SDK=./wasi-sysroot gltf/library.wasm
  + make -B WASMCC=wasi-sdk-$VERSION.0/bin/clang++ WASI_SDK=./wasi-sysroot js/meshopt_decoder.js js/meshopt_decoder.module.js
  + env:
  + VERSION: 12
  - name: test
  run: node gltf/cli.js -i demo/pirate.obj -o pirate.glb -v
  - name: npm pack
  @@ -110,6 +114,10 @@ jobs:
  with:
  name: gltfpack-npm
  path: gltf/gltfpack-*.tgz
  + - uses: actions/upload-artifact@v2
  + with:
  + name: meshopt_decoder
  + path: js/meshopt_decoder*.js
  arm64:
  runs-on: ubuntu-latest
  