File tree Expand file tree Collapse file tree 4 files changed +34
-0
lines changed
project/addons/orchestrator Expand file tree Collapse file tree 4 files changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Setup Web Dependencies
2
+ description : Setup Web Build Dependencies
3
+ runs :
4
+ using : " composite"
5
+ steps :
6
+
7
+ - name : Install Emscripten
8
+ uses : mymindstorm/setup-emsdk@v14
9
+ with :
10
+ version : 3.1.39
11
+ actions-cache-folder : " emsdk-cache"
Original file line number Diff line number Diff line change 52
52
platform : armeabi-v7a
53
53
arch : armeabi-v7a
54
54
55
+ - identifier : wasm32
56
+ name : 🌐 Web (wasm32)
57
+ build_type : Release
58
+ runner : ubuntu-20.04
59
+ platform : web
60
+
55
61
runs-on : ${{ matrix.runner }}
56
62
name : ${{ matrix.name }}
57
63
78
84
if : startsWith(matrix.identifier, 'android-')
79
85
uses : ./.github/actions/android-deps
80
86
87
+ - name : Setup Web Dependencies
88
+ if : startsWith(matrix.identifier, 'wasm')
89
+ uses : ./.github/actions/web-deps
90
+
81
91
- name : Setup Base Dependencies
82
92
uses : ./.github/actions/base-deps
83
93
Original file line number Diff line number Diff line change 81
81
"CMAKE_C_COMPILER_LAUNCHER" : " ccache" ,
82
82
"CMAKE_CXX_COMPILER_LAUNCHER" : " ccache"
83
83
}
84
+ },
85
+ {
86
+ "name" : " web" ,
87
+ "cacheVariables" : {
88
+ "CMAKE_BUILD_TYPE" : " Release" ,
89
+ "CMAKE_C_COMPILER_LAUNCHER" : " ccache" ,
90
+ "CMAKE_CXX_COMPILER_LAUNCHER" : " ccache" ,
91
+ "CMAKE_C_COMPILER" : " emcc" ,
92
+ "CMAKE_CXX_COMPILER" : " em++" ,
93
+ "CMAKE_TOOLCHAIN_FILE" : " $env{EMSDK}/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake"
94
+ }
84
95
}
85
96
]
86
97
}
Original file line number Diff line number Diff line change @@ -20,3 +20,5 @@ android.arm32 = "res://addons/orchestrator/liborchestrator.android.32.release.so
20
20
21
21
android.arm64 = "res://addons/orchestrator/liborchestrator.android.64.release.so"
22
22
#android.debug.arm64 = "res://addons/orchestrator/liborchestrator.android.64.debug.so"
23
+
24
+ web.wasm32 = "res://addons/orchestrator/orchestrator.emscripten.32.release.a"
You can’t perform that action at this time.
0 commit comments