]> Nishi Git Mirror - gwion.git/commitdiff
Fix wren II
authorJérémie Astor <astor.jeremie@wanadoo.fr>
Fri, 26 Jun 2020 15:51:36 +0000 (17:51 +0200)
committerJérémie Astor <astor.jeremie@wanadoo.fr>
Fri, 26 Jun 2020 15:51:36 +0000 (17:51 +0200)
.github/workflows/build.yml

index f515a64382b1471e071a0eb5280760d71676aded..385f5170a4dda9759ce63c040374380993883ebb 100644 (file)
@@ -80,7 +80,6 @@ jobs:
         git clone https://github.com/wren-lang/wren
         cd wren/projects/make
         make
-        cp ../../bin/wren_test ../../../wren
 
     - name: wren [ update ]
       if: steps.wren.outputs.cache-hit == 'true'
@@ -89,9 +88,13 @@ jobs:
         if [ $(git rev-parse HEAD) != $(git ls-remote https://github.com/wren-lang/wren.git HEAD | cut -f1) ]
         then
           git pull
+          cd projects/make
           make
         fi
 
+    - name: wren [ install ]
+      run: cp wren/bin/wren_test wren/bin/wren
+
     - uses: actions/cache@v1
       name: Lua [ cache ]
       id: lua
@@ -126,6 +129,7 @@ jobs:
         echo 'chuck --silent $@' > ./chuck
         chmod +x ./chuck
         ./chuck benchmark/string-equals.ck
+        export PATH=./wren/bin:$PATH
         export PATH=./lua:$PATH
         export PATH=./mdr:$PATH
         export PATH=./Gwion:$PATH