@@ -13,68 +13,68 @@ branches:
13
13
- master
14
14
- /experimental-build.*/
15
15
init :
16
- - ps : ' '
16
+ - ps : " "
17
17
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
23
23
24
- npm -v && npm install
24
+ npm -v && npm install
25
25
26
- git clone https://github.com/juj/emsdk.git
26
+ git clone https://github.com/juj/emsdk.git
27
27
28
- cd emsdk
28
+ cd emsdk
29
29
30
- emsdk install 1.39.6
30
+ emsdk install 1.39.6
31
31
32
- CMD /C "emsdk activate 1.39.6 && cd .. && npm run build"
32
+ CMD /C "emsdk activate 1.39.6 && cd .. && npm run build"
33
33
34
- cd ..\..
34
+ cd ..\..
35
35
36
- # Build GDevelop IDE
37
- - cmd : >-
38
- cd newIDE\app
36
+ # Build GDevelop IDE
37
+ - cmd : >-
38
+ cd newIDE\app
39
39
40
- npm -v && npm install
40
+ npm -v && npm install
41
41
42
- cd ..\electron-app
42
+ cd ..\electron-app
43
43
44
- npm -v && npm install
44
+ npm -v && npm install
45
45
46
- cd ..\..
46
+ cd ..\..
47
47
48
48
# Package the app for Windows (and sign it with the certificate set in environment variables).
49
49
# Don't sign the appx (it will be signed by the Microsoft Store).
50
50
build_script :
51
- - ps : >-
52
- cd newIDE\electron-app
51
+ - ps : >-
52
+ cd newIDE\electron-app
53
53
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
55
55
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
57
57
58
- cd ..\..
58
+ cd ..\..
59
59
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
63
63
64
64
# Run a few tests on Windows.
65
65
test_script :
66
- - cmd : >-
67
- cd GDevelop.js
66
+ - cmd : >-
67
+ cd GDevelop.js
68
68
69
- npm test
69
+ npm test
70
70
71
- cd ..
71
+ cd ..
72
72
73
- cd newIDE\app
73
+ cd newIDE\app
74
74
75
- npm test
75
+ npm test
76
76
77
- cd ..\..
77
+ cd ..\..
78
78
79
79
artifacts :
80
80
- path : newIDE\electron-app\dist
0 commit comments