Fix CI out of memory
authorFabian Fichter <ianfab@users.noreply.github.com>
Wed, 8 Mar 2023 22:21:00 +0000 (23:21 +0100)
committerFabian Fichter <ianfab@users.noreply.github.com>
Wed, 8 Mar 2023 23:09:26 +0000 (00:09 +0100)
Closes #586.

.github/workflows/release.yml

index 67177e4..5e0cb49 100644 (file)
@@ -14,6 +14,12 @@ jobs:
     runs-on: windows-2022
 
     steps:
+      - uses: al-cheb/configure-pagefile-action@v1.2   
+        with:  
+            minimum-size: 16GB
+            maximum-size: 16GB
+            disk-root: "C:"
+
       - uses: actions/checkout@v3
 
       - name: make
@@ -45,4 +51,4 @@ jobs:
       - uses: actions/upload-artifact@v3
         with:
           name: fairy-stockfish
-          path: src/fairy-stockfish*
\ No newline at end of file
+          path: src/fairy-stockfish*