This repository was archived by the owner on Apr 25, 2019. It is now read-only.
File tree 3 files changed +16
-16
lines changed 3 files changed +16
-16
lines changed Original file line number Diff line number Diff line change 1
1
language : cpp
2
2
sudo : false
3
- compiler :
4
- - gcc
5
3
6
4
# Cache .npm folder for faster npm install
7
5
cache :
8
6
directories :
9
7
- $HOME/.npm
10
8
11
- env :
12
- global :
13
- - GCC_VERSION="4.8"
14
-
15
9
addons :
10
+ artifacts :
11
+ s3_region : " us-east-1"
12
+ paths :
13
+ - GDevelop/Binaries/Output/libGD.js/Release
16
14
apt :
17
15
sources :
18
16
- ubuntu-toolchain-r-test
19
17
packages :
20
- # Build dependencies:
18
+ # Cmake 3+ is required by Emscripten
21
19
- cmake3
22
- - g++-4.8 # Required for latest libstdc++6
20
+
21
+ before_install :
22
+ # This workaround is required to avoid libstdc++ errors (Emscripten requires a recent version of libstdc++)
23
+ - wget -q -O libstdc++6 http://security.ubuntu.com/ubuntu/pool/main/g/gcc-5/libstdc++6_5.4.0-6ubuntu1~16.04.10_amd64.deb
24
+ - sudo dpkg --force-all -i libstdc++6
23
25
24
26
install :
25
27
# Emscripten
Original file line number Diff line number Diff line change @@ -71,9 +71,7 @@ module.exports = function(grunt) {
71
71
cmakeBinary +
72
72
' ' +
73
73
cmakeArgs +
74
- ' ../.. -DCMAKE_TOOLCHAIN_FILE="' +
75
- cmakeToolchainpath +
76
- '" -DFULL_VERSION_NUMBER=FALSE -DCMAKE_EXPORT_COMPILE_COMMANDS=ON' ,
74
+ ' ../.. -DFULL_VERSION_NUMBER=FALSE' ,
77
75
options : {
78
76
execOptions : {
79
77
cwd : buildPath ,
Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ How to build
16
16
git clone https://github.com/juj/emsdk.git
17
17
cd emsdk
18
18
./emsdk update
19
- ./emsdk install latest
20
- ./emsdk activate latest
19
+ ./emsdk install sdk-1.37.37-64bit
20
+ ./emsdk activate sdk-1.37.37-64bit
21
21
source ./emsdk_env.sh
22
22
```
23
23
@@ -29,11 +29,11 @@ source ./emsdk_env.sh
29
29
npm install -g grunt-cli
30
30
```
31
31
32
- * Clone [ GDevelop repository] ( https://github.com/4ian/GD ) and this repository at the root of GD repository:
32
+ * Clone [ GDevelop repository] ( https://github.com/4ian/GDevelop ) and this repository at the root of GD repository:
33
33
34
34
``` shell
35
- git clone https://github.com/4ian/GD .git
36
- cd GD && git clone https://github.com/4ian/GDevelop.js.git
35
+ git clone https://github.com/4ian/GDevelop .git
36
+ cd GDevelop && git clone https://github.com/4ian/GDevelop.js.git
37
37
```
38
38
39
39
* Launch the build:
You can’t perform that action at this time.
0 commit comments