File tree Expand file tree Collapse file tree 3 files changed +21
-1
lines changed Expand file tree Collapse file tree 3 files changed +21
-1
lines changed Original file line number Diff line number Diff line change 1212 TARGET_NAME : libgdsqlite
1313 VAR_PATH : .github/workflows/build_var.json
1414 SCONS_CACHE : ${{ github.workspace }}/.scons-cache/
15+ EM_VERSION : 3.1.39
16+ EM_CACHE_FOLDER : " emsdk-cache"
1517
1618jobs :
1719 matrix :
6567 ndk-version : r23c
6668 link-to-sdk : true
6769
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+
6877 # Setup scons, print python version and scons version info, so if anything is broken it won't run the build.
6978 - name : Configuring Python packages
7079 run : |
Original file line number Diff line number Diff line change 5050 "artifact-extension" : " dylib" ,
5151 "flags" : " arch=arm64" ,
5252 "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"
5360 }
5461 ]
5562}
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
1515android.template_release.arm64 = "res://addons/godot-sqlite/bin/libgdsqlite.android.template_release.arm64.so"
1616android.x86_64 = "res://addons/godot-sqlite/bin/libgdsqlite.android.template_debug.x86_64.so"
1717android.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"
1820
1921[dependencies]
2022
@@ -27,4 +29,6 @@ linux.template_release.x86_64 = {}
2729android.arm64 = {}
2830android.template_release.arm64 = {}
2931android.x86_64 = {}
30- android.template_release.x86_64 = {}
32+ android.template_release.x86_64 = {}
33+ web.wasm32 = {}
34+ web.template_release.wasm32 = {}
You can’t perform that action at this time.
0 commit comments