Commit 4fe1d474 authored by Michael Droettboom's avatar Michael Droettboom

Fix running of benchmark in Circle-CI

parent fa4456ed
...@@ -128,9 +128,21 @@ jobs: ...@@ -128,9 +128,21 @@ jobs:
command: | command: |
sudo bash -c "echo 'application/wasm wasm' >> /etc/mime.types" sudo bash -c "echo 'application/wasm wasm' >> /etc/mime.types"
# Get recent version of Firefox and geckodriver
wget -O firefox.tar.bz2 https://download.mozilla.org/\?product\=firefox-latest-ssl\&os\=linux64\&lang\=en-US
tar jxf firefox.tar.bz2
wget https://github.com/mozilla/geckodriver/releases/download/v0.21.0/geckodriver-v0.21.0-linux64.tar.gz
tar zxf geckodriver-v0.21.0-linux64.tar.gz -C firefox
# Get recent version of chromedriver
wget https://chromedriver.storage.googleapis.com/2.41/chromedriver_linux64.zip
unzip chromedriver_linux64.zip
mv chromedriver pyodide-env/bin/
source pyodide-env/bin/activate source pyodide-env/bin/activate
export PATH=$PWD/firefox:$PATH export PATH=$PWD/firefox:$PATH
make benchmark python benchmark/benchmark.py cpython/build/3.7.0/host/bin/python3 build/benchmarks.json
python benchmark/plot_benchmark.py build/benchmarks.json build/benchmarks.png
deploy: deploy:
machine: machine:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment