message: Include meshopt_encoder into build and test process
diff: @@ -64,10 +64,12 @@ jobs:
  - uses: actions/setup-node@v1
  with:
  node-version: '14.6'
  - - name: test
  + - name: test decoder
  run: node js/meshopt_decoder.test.js
  - - name: test simd
  + - name: test simd decoder
  run: node --experimental-wasm-simd js/meshopt_decoder.test.js
  + - name: test encoder
  + run: node js/meshopt_encoder.test.js
  gltfpack:
  runs-on: ubuntu-latest
  @@ -109,12 +111,14 @@ jobs:
  run: |
  make -B WASMCC=wasi-sdk/bin/clang++ WASI_SDK=./wasi-sysroot gltf/library.wasm
  make -B WASMCC=wasi-sdk/bin/clang++ WASI_SDK=./wasi-sysroot js/meshopt_decoder.js js/meshopt_decoder.module.js
  + make -B WASMCC=wasi-sdk/bin/clang++ WASI_SDK=./wasi-sysroot js/meshopt_encoder.js js/meshopt_encoder.module.js
  - name: test
  run: |
  node gltf/cli.js -i demo/pirate.obj -o pirate.glb -v
  node gltf/cli.js -i `pwd`/pirate.glb -o pirate-repack.glb -cc -v
  wc -c pirate.glb pirate-repack.glb
  node js/meshopt_decoder.test.js
  + node js/meshopt_encoder.test.js
  - name: npm pack
  run: |
  cd gltf && npm pack && cd ..
  @@ -127,10 +131,6 @@ jobs:
  with:
  name: meshoptimizer-npm
  path: js/meshoptimizer-*.tgz
  - - uses: actions/upload-artifact@v2
  - with:
  - name: meshopt_decoder
  - path: js/meshopt_decoder*.js
  arm64:
  runs-on: ubuntu-latest
  