File tree 4 files changed +22
-2
lines changed
4 files changed +22
-2
lines changed Original file line number Diff line number Diff line change 12
12
TARGET_NAME : libgdsqlite
13
13
VAR_PATH : .github/workflows/build_var.json
14
14
SCONS_CACHE : ${{ github.workspace }}/.scons-cache/
15
+ EM_VERSION : 3.1.39
16
+ EM_CACHE_FOLDER : " emsdk-cache"
15
17
16
18
jobs :
17
19
matrix :
65
67
ndk-version : r23c
66
68
link-to-sdk : true
67
69
70
+ - name : Web dependencies
71
+ if : ${{ matrix.platform == 'web' }}
72
+ uses : mymindstorm/setup-emsdk@v13
73
+ with :
74
+ version : ${{ env.EM_VERSION }}
75
+ actions-cache-folder : ${{ env.EM_CACHE_FOLDER }}-${{ matrix.target }}
76
+
68
77
# Setup scons, print python version and scons version info, so if anything is broken it won't run the build.
69
78
- name : Configuring Python packages
70
79
run : |
Original file line number Diff line number Diff line change 50
50
"artifact-extension" : " dylib" ,
51
51
"flags" : " arch=arm64" ,
52
52
"cache-name" : " ios-arm64"
53
+ },
54
+ {
55
+ "name" : " Web (wasm32)" ,
56
+ "os" : " ubuntu-20.04" ,
57
+ "platform" : " web" ,
58
+ "artifact-extension" : " wasm" ,
59
+ "cache-name" : " web-wasm32"
53
60
}
54
61
]
55
62
}
Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ android.arm64 = "res://addons/godot-sqlite/bin/libgdsqlite.android.template_debu
15
15
android.template_release.arm64 = "res://addons/godot-sqlite/bin/libgdsqlite.android.template_release.arm64.so"
16
16
android.x86_64 = "res://addons/godot-sqlite/bin/libgdsqlite.android.template_debug.x86_64.so"
17
17
android.template_release.x86_64 = "res://addons/godot-sqlite/bin/libgdsqlite.android.template_release.x86_64.so"
18
+ web.wasm32 = "res://addons/godot-sqlite/bin/libgdsqlite.web.template_debug.wasm32.wasm"
19
+ web.template_release.wasm32 = "res://addons/godot-sqlite/bin/libgdsqlite.web.template_release.wasm32.wasm"
18
20
19
21
[dependencies]
20
22
@@ -27,4 +29,6 @@ linux.template_release.x86_64 = {}
27
29
android.arm64 = {}
28
30
android.template_release.arm64 = {}
29
31
android.x86_64 = {}
30
- android.template_release.x86_64 = {}
32
+ android.template_release.x86_64 = {}
33
+ web.wasm32 = {}
34
+ web.template_release.wasm32 = {}
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ config_version=5
12
12
13
13
config/name ="SQLite Demo"
14
14
run/main_scene ="res://Main.tscn"
15
- config/features =PackedStringArray ("4.1 " )
15
+ config/features =PackedStringArray ("4.2 " )
16
16
config/icon ="res://icon.png"
17
17
18
18
[debug ]
You can’t perform that action at this time.
0 commit comments