CI: preserve YoWASP cache as well.
authorwhitequark <whitequark@whitequark.org>
Fri, 8 Oct 2021 17:48:00 +0000 (17:48 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 31 Dec 2021 19:51:45 +0000 (19:51 +0000)
.github/workflows/main.yaml

index 148795f5a33091d43c6065dc93af4a9676610733..6bd28668feb2d559b6e0e1a468faff6fbde4d919 100644 (file)
@@ -26,11 +26,13 @@ jobs:
         sudo apt-get install yices2
         pip install coverage codecov yowasp-yosys
         pip install -e .[builtin-yosys]
-    - name: Preserve wasmtime cache
+    - name: Preserve Wasm cache
       uses: actions/cache@v1
       with:
-        path: ~/.cache/wasmtime
-        key: ${{ runner.os }}-wasmtime
+        path: |
+          ~/.cache/wasmtime
+          ~/.cache/yowasp
+        key: ${{ runner.os }}-wasm
     - name: Run tests
       run: |
         export NMIGEN_USE_YOSYS=builtin YOSYS=yowasp-yosys SBY=yowasp-sby SMTBMC=yowasp-yosys-smtbmc