]> Nishi Git Mirror - gwion.git/commitdiff
Update mdr
authorJérémie Astor <astor.jeremie@wanadoo.fr>
Thu, 27 Feb 2020 19:48:13 +0000 (20:48 +0100)
committerJérémie Astor <astor.jeremie@wanadoo.fr>
Thu, 27 Feb 2020 19:48:13 +0000 (20:48 +0100)
.github/workflows/build.yml

index ccf0e2baebb7e23e67158c0f9b962c6c62f465a4..ae5165554bcb8da1786665b1270ae3dd5e5bf993 100644 (file)
@@ -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