Skip to content

Commit b4f553e

Browse files
Increase node memory size for Appveyor build
1 parent 5802f6b commit b4f553e

File tree

1 file changed

+34
-34
lines changed

1 file changed

+34
-34
lines changed

appveyor.yml

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -13,68 +13,68 @@ branches:
1313
- master
1414
- /experimental-build.*/
1515
init:
16-
- ps: ''
16+
- ps: ""
1717
install:
18-
- ps: Install-Product node 16
19-
# Build GDevelop.js (and run tests to ensure it works).
20-
# (in a subshell to avoid Emscripten polluting the Node.js and npm version for the rest of the build)
21-
- cmd: >-
22-
cd GDevelop.js
18+
- ps: Install-Product node 16
19+
# Build GDevelop.js (and run tests to ensure it works).
20+
# (in a subshell to avoid Emscripten polluting the Node.js and npm version for the rest of the build)
21+
- cmd: >-
22+
cd GDevelop.js
2323
24-
npm -v && npm install
24+
npm -v && npm install
2525
26-
git clone https://github.com/juj/emsdk.git
26+
git clone https://github.com/juj/emsdk.git
2727
28-
cd emsdk
28+
cd emsdk
2929
30-
emsdk install 1.39.6
30+
emsdk install 1.39.6
3131
32-
CMD /C "emsdk activate 1.39.6 && cd .. && npm run build"
32+
CMD /C "emsdk activate 1.39.6 && cd .. && npm run build"
3333
34-
cd ..\..
34+
cd ..\..
3535
36-
# Build GDevelop IDE
37-
- cmd: >-
38-
cd newIDE\app
36+
# Build GDevelop IDE
37+
- cmd: >-
38+
cd newIDE\app
3939
40-
npm -v && npm install
40+
npm -v && npm install
4141
42-
cd ..\electron-app
42+
cd ..\electron-app
4343
44-
npm -v && npm install
44+
npm -v && npm install
4545
46-
cd ..\..
46+
cd ..\..
4747
4848
# Package the app for Windows (and sign it with the certificate set in environment variables).
4949
# Don't sign the appx (it will be signed by the Microsoft Store).
5050
build_script:
51-
- ps: >-
52-
cd newIDE\electron-app
51+
- ps: >-
52+
cd newIDE\electron-app
5353
54-
node --max-old-space-size=3072 scripts/build.js --win nsis --publish=never
54+
node --max-old-space-size=4096 scripts/build.js --win nsis --publish=never
5555
56-
Remove-Item -Path Env:CSC_LINK ; Remove-Item -Path Env:CSC_KEY_PASSWORD ; node scripts/build.js --skip-app-build --win appx --publish=never
56+
Remove-Item -Path Env:CSC_LINK ; Remove-Item -Path Env:CSC_KEY_PASSWORD ; node scripts/build.js --skip-app-build --win appx --publish=never
5757
58-
cd ..\..
58+
cd ..\..
5959
60-
# Clean dist folder to keep only installers/binaries.
61-
- cmd: >-
62-
DEL /F/Q/S newIDE\electron-app\dist\win-unpacked
60+
# Clean dist folder to keep only installers/binaries.
61+
- cmd: >-
62+
DEL /F/Q/S newIDE\electron-app\dist\win-unpacked
6363
6464
# Run a few tests on Windows.
6565
test_script:
66-
- cmd: >-
67-
cd GDevelop.js
66+
- cmd: >-
67+
cd GDevelop.js
6868
69-
npm test
69+
npm test
7070
71-
cd ..
71+
cd ..
7272
73-
cd newIDE\app
73+
cd newIDE\app
7474
75-
npm test
75+
npm test
7676
77-
cd ..\..
77+
cd ..\..
7878
7979
artifacts:
8080
- path: newIDE\electron-app\dist

0 commit comments

Comments
 (0)