]> Nishi Git Mirror - gwion.git/commitdiff
:wrench: use gwion-action
authorJérémie Astor <astor.jeremie@wanadoo.fr>
Fri, 21 Feb 2020 22:21:31 +0000 (23:21 +0100)
committerJérémie Astor <astor.jeremie@wanadoo.fr>
Fri, 21 Feb 2020 22:21:31 +0000 (23:21 +0100)
.github/workflows/build.yml

index 56d2e532e8074267dd2f28ecc7d466eb8d281a16..ccf0e2baebb7e23e67158c0f9b962c6c62f465a4 100644 (file)
@@ -63,14 +63,9 @@ jobs:
         path: Gwion
         key: ${{ runner.os }}-gwion
 
-    - name: Gwion [ init ]
+    - name: Gwion
       if: steps.gwion-bin.outputs.cache-hit != 'true'
-      run: |
-        git clone https://github.com/fennecdjay/Gwion
-        cd Gwion
-        git submodule update --init util ast
-        make
-        cp gwion ..
+      uses: fennecdjay/gwion-action@v1
 
     - name: Gwion [ update ]
       if: steps.gwion-bin.outputs.cache-hit == 'true'
@@ -144,6 +139,7 @@ jobs:
         ./chuck benchmark/string-equals.ck
         export PATH=./wren:$PATH
         export PATH=./lua:$PATH
+        export PATH=./Gwion:$PATH
         export PATH=.:$PATH
         bash scripts/benchmark.sh