CI: Fix emscripten builds after portable SDK archive became unavailable.

(cherry picked from commit 14b18697e653de80f75af18113033b2086846194)
This commit is contained in:
Rokas Kupstys 2019-11-04 09:50:50 +02:00 committed by omar
parent 792a8631aa
commit bcd752cfcc

View File

@ -226,13 +226,13 @@ jobs:
- name: Install Dependencies
run: |
wget -q https://s3.amazonaws.com/mozilla-games/emscripten/releases/emsdk-portable.tar.gz
tar -xvf emsdk-portable.tar.gz
emsdk-portable/emsdk update
emsdk-portable/emsdk install latest
emsdk-portable/emsdk activate latest
wget -q https://github.com/emscripten-core/emsdk/archive/master.tar.gz
tar -xvf master.tar.gz
emsdk-master/emsdk update
emsdk-master/emsdk install latest-fastcomp
emsdk-master/emsdk activate latest-fastcomp
- name: Build example_emscripten
run: |
source emsdk-portable/emsdk_env.sh
source emsdk-master/emsdk_env.sh
make -C examples/example_emscripten