Update alpha.yml workflow to set swap space and disable wasm sandboxing

This commit is contained in:
mauro 🤙
2024-05-09 21:26:41 +00:00
parent 3e391284e9
commit 3055d609ad

View File

@@ -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