From: Jérémie Astor Date: Thu, 27 Feb 2020 19:48:13 +0000 (+0100) Subject: Update mdr X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=c2cf4416dffefa02ff549c16a7dc044f1c475f2a;p=gwion.git Update mdr --- diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ccf0e2ba..ae516555 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,8 +10,6 @@ jobs: steps: - uses: actions/checkout@v1 name: Checkout - - uses: actions/setup-haskell@v1 - name: Setup Haskell - uses: actions/setup-python@v1 name: Setup Python - uses: actions/setup-ruby@v1 @@ -36,25 +34,15 @@ jobs: run: | git clone https://github.com/fennecdjay/mdr cd mdr - cabal update - cabal install --only-dependencies - cabal configure - cabal build - cabal install + make - name: Mdr if: steps.mdr-bin.outputs.cache-hit == 'true' run: | cd mdr - cabal update - cabal install --only-dependencies - if [ $(git rev-parse HEAD) != $(git ls-remote https://github.com/fennecdjay/mdr.git HEAD | cut -f1) ] - then - git pull - cabal configure - cabal build - fi - cabal install + git pull + git checkout master + make - uses: actions/cache@v1 name: Gwion [ cache ] @@ -139,6 +127,7 @@ jobs: ./chuck benchmark/string-equals.ck export PATH=./wren:$PATH export PATH=./lua:$PATH + export PATH=./mdr:$PATH export PATH=./Gwion:$PATH export PATH=.:$PATH bash scripts/benchmark.sh