From bf87b9a86df8990c20bdf20be71e6f1eee794dc7 Mon Sep 17 00:00:00 2001 From: mio Date: Wed, 12 Feb 2025 13:05:24 +0800 Subject: [PATCH] CI(full),CI(release): Increase pagefile to avoid OOM --- .github/workflows/build-wheels-publish.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/build-wheels-publish.yml b/.github/workflows/build-wheels-publish.yml index 361f83e6..7bcba62c 100644 --- a/.github/workflows/build-wheels-publish.yml +++ b/.github/workflows/build-wheels-publish.yml @@ -77,6 +77,12 @@ jobs: name=$(echo -n "$name" | sed -e 's/[ \t:\/\\"<>|*?]/-/g' -e 's/--*/-/g' | sed -e 's/\-$//') echo "ARTIFACT_NAME=$name" >> $GITHUB_ENV + - name: "Increase pagefile to avoid OOM" + if: runner.os == 'Windows' + uses: al-cheb/configure-pagefile-action@v1.2 + with: + minimum-size: 8GB + - name: '🛠️ Add msbuild to PATH' if: runner.os == 'Windows' uses: microsoft/setup-msbuild@v2 @@ -226,6 +232,12 @@ jobs: name=$(echo -n "$name" | sed -e 's/[ \t:\/\\"<>|*?]/-/g' -e 's/--*/-/g' | sed -e 's/\-$//') echo "ARTIFACT_NAME=$name" >> $GITHUB_ENV + - name: "Increase pagefile to avoid OOM" + if: runner.os == 'Windows' + uses: al-cheb/configure-pagefile-action@v1.2 + with: + minimum-size: 8GB + - name: '🛠️ Add msbuild to PATH' if: runner.os == 'Windows' uses: microsoft/setup-msbuild@v2