Bump protobufjs from 7.2.5 to 7.4.0 in /wasm in the npm_and_yarn group across 1 directory #557
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Wasm CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install system dependencies | |
run: | | |
# build-essential clang-11 libc++-dev libc++abi-dev ruby-full cmake python3 | |
sudo apt-get update && sudo apt-get install libboost-all-dev --fix-missing | |
- name: Install emsdk | |
run: tools/install-wasm-dependencies | |
- name: Cache internal dependencies | |
id: internal_cache | |
uses: actions/[email protected] | |
with: | |
path: build/local | |
key: ${{ runner.os }}-internal-${{ hashFiles('tools/install-dependencies') }} | |
- name: Install internal dependencies | |
run: tools/install-dependencies | |
env: | |
CC: /usr/bin/clang | |
CXX: /usr/bin/clang++ | |
if: steps.internal_cache.outputs.cache-hit != 'true' | |
- name: Code generation | |
run: tools/generate-files | |
env: | |
CC: /usr/bin/clang | |
CXX: /usr/bin/clang++ | |
- name: Build for Wasm | |
run: | | |
source emsdk/emsdk_env.sh | |
tools/wasm-build | |
env: | |
CC: /usr/bin/clang | |
CXX: /usr/bin/clang++ | |
- name: Test | |
run: | | |
npm install && npm run copy:wasm | |
npm run build && npm run test | |
working-directory: wasm |