From 3055d609adf9247adb5ebdd328f32defaba0b115 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?mauro=20=F0=9F=A4=99?= Date: Thu, 9 May 2024 21:26:41 +0000 Subject: [PATCH] Update alpha.yml workflow to set swap space and disable wasm sandboxing --- .github/workflows/alpha.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/alpha.yml b/.github/workflows/alpha.yml index 79717b196..0655363c5 100644 --- a/.github/workflows/alpha.yml +++ b/.github/workflows/alpha.yml @@ -212,6 +212,12 @@ jobs: - uses: actions/checkout@v3 + # Give the runner some swap space in an attempt to stop gkrust from crashing the build + - name: Set Swap Space + uses: pierotofy/set-swap-space@v1.0 + with: + swap-size-gb: 6 + - uses: pnpm/action-setup@v2 name: Install pnpm id: pnpm-install @@ -237,6 +243,18 @@ jobs: - name: Import run: pnpm gluon import --verbose + - name: Disable wasm sandboxing for the sake of my sanity + run: | + cd engine/ + echo "ac_add_options --without-wasm-sandboxed-libraries" >> mozconfig + + - name: Free up space + run: | + sudo rm -rf /usr/share/dotnet + sudo rm -rf /opt/ghc + sudo rm -rf "/usr/local/share/boost" + sudo rm -rf "$AGENT_TOOLSDIRECTORY" + - name: Setup For Windows run: | set -x