Files
filament/build/web/ci-common.sh
Philip Rideout 17003106d2 Prep for new JavaScript tutorial.
This adds a few new functions to the JavaScript bindings. It also adds
our JavaScript docs into the CMake build system for machines that meet
the Python requirements.
2018-11-13 17:27:34 -08:00

20 lines
596 B
Bash
Executable File

#!/bin/bash
curl -OL https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-mac.zip
unzip -q ninja-mac.zip
chmod +x ninja
export PATH="$PWD:$PATH"
# The Kokoro machines have Python 3.6.3 installed. Let's verify that here, and install the
# distributions required for web/docs.
python3 --version
pip3 install mistletoe pygments jsbeautifier future_fstrings
curl -L https://github.com/juj/emsdk/archive/0d8576c.zip > emsdk.zip
unzip emsdk.zip
mv emsdk-* emsdk
emsdk/emsdk update
emsdk/emsdk install sdk-1.38.11-64bit
emsdk/emsdk activate sdk-1.38.11-64bit
export EMSDK="$PWD/emsdk"