Skip to content

Use queue for mouse events, same as for keyevents #89

Use queue for mouse events, same as for keyevents

Use queue for mouse events, same as for keyevents #89

Workflow file for this run

name: build
on:
push:
branches: [ beta ]
pull_request:
branches: [ beta ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
emsdk-version: [3.1.41]
binaryen-version: [version_116_e]
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: build emulators
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: sudo apt-get -yqq update
- run: sudo apt-get install -yq --no-install-recommends cmake ninja-build
- run: npm install -g yarn
- run: yarn
- run: yarn run eslint src --ext ts,tsx --max-warnings 0
- run: yarn run eslint test --ext ts,tsx --max-warnings 0
- run: yarn run tsc --noemit
- run: cd native/sockdrive/js && yarn && yarn run webpack && cd ../../..
- run: git clone https://github.com/emscripten-core/emsdk.git
- run: cd emsdk && ./emsdk install ${{ matrix.emsdk-version }} && ./emsdk activate ${{ matrix.emsdk-version }} && cd ..
- run: wget https://github.com/caiiiycuk/binaryen-fwasm-exceptions/releases/download/${{ matrix.binaryen-version }}/binaryen-${{ matrix.binaryen-version }}-x86_64-linux.tar.gz
- run: tar xfv binaryen-${{ matrix.binaryen-version }}-x86_64-linux.tar.gz
- run: cp -v binaryen-${{ matrix.binaryen-version }}/bin/wasm-opt ./emsdk/upstream/bin/wasm-opt
- run: source ./emsdk/emsdk_env.sh && yarn run gulp
- name: upload
uses: actions/[email protected]
with:
name: 'dist'
path: 'dist'