ci/ci-pharo-benchmark.sh
changeset 549 8ad6734770cd
child 550 777f3813febc
equal deleted inserted replaced
548:5536a6da50e4 549:8ad6734770cd
       
     1 #!/bin/bash
       
     2 # 
       
     3 # a CI job to run PetitCompiler benchmarks on Pharo
       
     4 #
       
     5 set -e
       
     6 
       
     7 if test -x "ci-pharo-common.sh"; then
       
     8     wget -O "ci-pharo-common.sh" https://bitbucket.org/janvrany/stx-goodies-petitparser/raw/tip/ci/ci-pharo-common.sh
       
     9 fi
       
    10 . ci-pharo-common.sh
       
    11 
       
    12 ci_download_test_data
       
    13 
       
    14 ci_pharo_download_pharo
       
    15 ci_pharo_download_petitparser
       
    16 
       
    17 set +e
       
    18 ./pharo $IMAGE benchmark --tag PetitParser --setup "Author fullName:'Jenkins'" --json -o $PETITCOMPILER_BENCHMARK_REPORT PPCCalipelBenchmark;
       
    19 status=$?
       
    20 set -e
       
    21 
       
    22 ci_upload_benchmark_results
       
    23 
       
    24 exit $status
       
    25 
       
    26